Assimp  v3.1.1 (June 2014)
Assimp::PLY::Property Class Reference

Helper class for a property in a PLY file. More...

Public Member Functions

 Property ()
 Default constructor. More...
 

Static Public Member Functions

static EDataType ParseDataType (const char *pCur, const char **pCurOut)
 Parse a data type from a string. More...
 
static bool ParseProperty (const char *pCur, const char **pCurOut, Property *pOut)
 Parse a property from a string. More...
 
static ESemantic ParseSemantic (const char *pCur, const char **pCurOut)
 Parse a semantic from a string. More...
 

Public Attributes

bool bIsList
 Specifies whether the data type is a list where the first element specifies the size of the list. More...
 
EDataType eFirstType
 
EDataType eType
 Data type of the property. More...
 
ESemantic Semantic
 Semantical meaning of the property. More...
 
std::string szName
 Of the semantic of the property could not be parsed: Contains the semantic specified in the file. More...
 

Detailed Description

Helper class for a property in a PLY file.

This can e.g. be a part of the vertex declaration

Constructor & Destructor Documentation

§ Property()

Property::Property ( )
inline

Default constructor.

Member Function Documentation

§ ParseDataType()

PLY::EDataType PLY::Property::ParseDataType ( const char *  pCur,
const char **  pCurOut 
)
static

Parse a data type from a string.

§ ParseProperty()

bool PLY::Property::ParseProperty ( const char *  pCur,
const char **  pCurOut,
PLY::Property pOut 
)
static

Parse a property from a string.

The end of the string is either '
', '' or '\0'. Return valie is false if the input string is NOT a valid property (E.g. does not start with the "property" keyword)

§ ParseSemantic()

PLY::ESemantic PLY::Property::ParseSemantic ( const char *  pCur,
const char **  pCurOut 
)
static

Parse a semantic from a string.

Member Data Documentation

§ bIsList

bool Assimp::PLY::Property::bIsList

Specifies whether the data type is a list where the first element specifies the size of the list.

§ eFirstType

EDataType Assimp::PLY::Property::eFirstType

§ eType

EDataType Assimp::PLY::Property::eType

Data type of the property.

§ Semantic

ESemantic Assimp::PLY::Property::Semantic

Semantical meaning of the property.

§ szName

std::string Assimp::PLY::Property::szName

Of the semantic of the property could not be parsed: Contains the semantic specified in the file.


The documentation for this class was generated from the following files: