libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback::Carousel::Real Class Reference

Represents a COS real. More...

#include <art/paperback/carousel/real.hxx>

Inheritance diagram for Art::Paperback::Carousel::Real:

Public Member Functions

 Real ()
 Constructor.
 
 Real (double)
 Constructor.
 
 Real (Real const &)
 Constructor.
 
 Real (Real &&)
 Constructor.
 
 ~Real () noexcept
 Destructor.
 
double const & operator* () const
 Access real.
 
Realoperator= (Real const &)
 Assignment.
 
Realoperator= (Real &&)
 Assignment.
 
bool operator== (Real const &) const
 Comparison.
 
bool operator!= (Real const &) const
 Comparison.
 
void attach (Owner &)
 Attach value to owner.
 
Owner * owner ()
 Access owner, if any.
 
Owner const * owner () const
 Access owner, if any.
 

Protected Member Functions

virtual void attach_children (Owner &)
 Attach any children.
 

Private Attributes

double _data {}
 
Owner * _owner {}
 

Detailed Description

Represents a COS real.

Constructor & Destructor Documentation

◆ Real() [1/4]

Art::Paperback::Carousel::Real::Real ( )

Constructor.

◆ Real() [2/4]

Art::Paperback::Carousel::Real::Real ( double value)

Constructor.

◆ Real() [3/4]

Art::Paperback::Carousel::Real::Real ( Real const & other)

Constructor.

◆ Real() [4/4]

Art::Paperback::Carousel::Real::Real ( Real && other)

Constructor.

◆ ~Real()

Art::Paperback::Carousel::Real::~Real ( )
noexcept

Destructor.

Member Function Documentation

◆ operator*()

double const & Art::Paperback::Carousel::Real::operator* ( ) const

Access real.

◆ operator=() [1/2]

Real & Art::Paperback::Carousel::Real::operator= ( Real const & other)

Assignment.

◆ operator=() [2/2]

Real & Art::Paperback::Carousel::Real::operator= ( Real && other)

Assignment.

◆ operator==()

bool Art::Paperback::Carousel::Real::operator== ( Real const & other) const

Comparison.

◆ operator!=()

bool Art::Paperback::Carousel::Real::operator!= ( Real const & other) const

Comparison.

◆ attach()

void Art::Paperback::Carousel::Object_model::Value_base::attach ( Owner & owner)
inherited

Attach value to owner.

Parameters
ownerReference to the owner.

◆ owner() [1/2]

Owner * Art::Paperback::Carousel::Object_model::Value_base::owner ( )
inherited

Access owner, if any.

Returns
Returns a pointer to the owner, if attached.

◆ owner() [2/2]

Owner const * Art::Paperback::Carousel::Object_model::Value_base::owner ( ) const
inherited

Access owner, if any.

Returns
Returns a pointer to the owner, if attached.

◆ attach_children()

void Art::Paperback::Carousel::Object_model::Value_base::attach_children ( Owner & owner)
protectedvirtualinherited

Attach any children.

Parameters
ownerThe owner of the children.

Reimplemented in Art::Paperback::Carousel::Array, and Art::Paperback::Carousel::Dictionary.