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

Instance of a property in a PLY file. More...

Classes

union  ValueUnion
 

Public Member Functions

 PropertyInstance ()
 Default constructor. More...
 

Static Public Member Functions

template<typename TYPE >
static TYPE ConvertTo (ValueUnion v, EDataType eType)
 Convert a property value to a given type TYPE. More...
 
static ValueUnion DefaultValue (EDataType eType)
 Get the default value for a given data type. More...
 
static bool ParseInstance (const char *&pCur, const Property *prop, PropertyInstance *p_pcOut)
 Parse a property instance. More...
 
static bool ParseInstanceBinary (IOStreamBuffer< char > &streamBuffer, std::vector< char > &buffer, const char *&pCur, unsigned int &bufferSize, const Property *prop, PropertyInstance *p_pcOut, bool p_bBE)
 Parse a property instance in binary format. More...
 
static bool ParseValue (const char *&pCur, EDataType eType, ValueUnion *out)
 Parse a value. More...
 
static bool ParseValueBinary (IOStreamBuffer< char > &streamBuffer, std::vector< char > &buffer, const char *&pCur, unsigned int &bufferSize, EDataType eType, ValueUnion *out, bool p_bBE)
 Parse a binary value. More...
 

Public Attributes

std::vector< ValueUnionavList
 List of all values parsed. Contains only one value. More...
 

Detailed Description

Instance of a property in a PLY file.

Constructor & Destructor Documentation

◆ PropertyInstance()

Assimp::PLY::PropertyInstance::PropertyInstance ( )
inline

Default constructor.

Member Function Documentation

◆ ConvertTo()

template<typename TYPE >
TYPE Assimp::PLY::PropertyInstance::ConvertTo ( ValueUnion  v,
PLY::EDataType  eType 
)
inlinestatic

Convert a property value to a given type TYPE.

◆ DefaultValue()

PLY::PropertyInstance::ValueUnion PLY::PropertyInstance::DefaultValue ( PLY::EDataType  eType)
static

Get the default value for a given data type.

◆ ParseInstance()

bool PLY::PropertyInstance::ParseInstance ( const char *&  pCur,
const Property prop,
PLY::PropertyInstance p_pcOut 
)
static

Parse a property instance.

◆ ParseInstanceBinary()

bool PLY::PropertyInstance::ParseInstanceBinary ( IOStreamBuffer< char > &  streamBuffer,
std::vector< char > &  buffer,
const char *&  pCur,
unsigned int &  bufferSize,
const Property prop,
PLY::PropertyInstance p_pcOut,
bool  p_bBE 
)
static

Parse a property instance in binary format.

◆ ParseValue()

bool PLY::PropertyInstance::ParseValue ( const char *&  pCur,
PLY::EDataType  eType,
ValueUnion out 
)
static

Parse a value.

◆ ParseValueBinary()

bool PLY::PropertyInstance::ParseValueBinary ( IOStreamBuffer< char > &  streamBuffer,
std::vector< char > &  buffer,
const char *&  pCur,
unsigned int &  bufferSize,
PLY::EDataType  eType,
ValueUnion out,
bool  p_bBE 
)
static

Parse a binary value.

Member Data Documentation

◆ avList

std::vector<ValueUnion> Assimp::PLY::PropertyInstance::avList

List of all values parsed. Contains only one value.


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