Base class for all public classes. More...
#include <cadex/BaseObject.hxx>
Public Types | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Public Member Functions | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Protected Member Functions | |
| BaseObject (const ImplType &theImpl) | |
Base class for all public classes.
BaseObject is a base class which contains data implementation of public objects. Any copy of the object is shallow copy: pointer to implementation will be copied. Therefore any modification of the copied object will propagate to original object.
| size_t cadex::BaseObject::Id | ( | ) | const |
Return unique identifier of public object.
|
inline |
Reserved for internal use.