Representation of a scalar ply property. More...
#include <PLYProperty.hpp>
Public Member Functions | |
ScalarProperty (string name) | |
Construcs a ScalarProperty with the given name. | |
string | getElementTypeStr () |
Returns a string representation of the property's type. | |
size_t | getValueSize () |
Returns the size of the property in bytes. | |
size_t | getCountSize () |
Always zero for scalar properties. | |
string | getCountTypeStr () |
Always empty for scalar properties. | |
bool | isList () |
Always false for scalar properties. | |
string | getName () |
Returns the property's name. | |
size_t | getCount () |
Returns the number of list entries for list properties. | |
Protected Attributes | |
string | m_name |
The property's name. | |
size_t | m_count |
The number of elements in the list (only for list props.). |
Representation of a scalar ply property.
Definition at line 77 of file PLYProperty.hpp.
lssr::ScalarProperty< ElementT >::ScalarProperty | ( | string | name | ) | [inline] |
Construcs a ScalarProperty with the given name.
name | The name of the property |
Definition at line 85 of file PLYProperty.hpp.
size_t lssr::Property::getCount | ( | ) | [inline, inherited] |
Returns the number of list entries for list properties.
Definition at line 55 of file PLYProperty.hpp.
size_t lssr::ScalarProperty< ElementT >::getCountSize | ( | ) | [inline, virtual] |
Always zero for scalar properties.
Implements lssr::Property.
Definition at line 104 of file PLYProperty.hpp.
string lssr::ScalarProperty< ElementT >::getCountTypeStr | ( | ) | [inline, virtual] |
Always empty for scalar properties.
Implements lssr::Property.
Definition at line 109 of file PLYProperty.hpp.
string lssr::ScalarProperty< ElementT >::getElementTypeStr | ( | ) | [inline, virtual] |
Returns a string representation of the property's type.
Implements lssr::Property.
Definition at line 94 of file PLYProperty.hpp.
string lssr::Property::getName | ( | ) | [inline, inherited] |
Returns the property's name.
Definition at line 50 of file PLYProperty.hpp.
size_t lssr::ScalarProperty< ElementT >::getValueSize | ( | ) | [inline, virtual] |
Returns the size of the property in bytes.
Implements lssr::Property.
Definition at line 99 of file PLYProperty.hpp.
bool lssr::ScalarProperty< ElementT >::isList | ( | ) | [inline, virtual] |
Always false for scalar properties.
Implements lssr::Property.
Definition at line 114 of file PLYProperty.hpp.
size_t lssr::Property::m_count [protected, inherited] |
The number of elements in the list (only for list props.).
Definition at line 69 of file PLYProperty.hpp.
string lssr::Property::m_name [protected, inherited] |
The property's name.
Definition at line 66 of file PLYProperty.hpp.