Easy3D 2.5.3
|
Implementation of a generic property. More...
Public Types | |
typedef PropertyArray< T >::reference | reference |
typedef PropertyArray< T >::const_reference | const_reference |
Public Member Functions | |
Property (PropertyArray< T > *p=nullptr) | |
void | reset () |
operator bool () const | |
virtual reference | operator[] (size_t i) |
virtual const_reference | operator[] (size_t i) const |
const T * | data () const |
std::vector< T > & | vector () |
const std::vector< T > & | vector () const |
PropertyArray< T > & | array () |
const PropertyArray< T > & | array () const |
const std::string & | name () const |
Return the name of the property. | |
void | set_name (const std::string &n) |
Set the name of the property. | |
Friends | |
class | PropertyContainer |
Implementation of a generic property.
|
inlinevirtual |
|
inlinevirtual |