Assimp  v4.1. (December 2018)
Assimp::PLY::DOM Class Reference

Class to represent the document object model of an ASCII or binary (both little and big-endian) PLY file. More...

Public Member Functions

 DOM ()
 Default constructor. More...
 

Static Public Member Functions

static bool ParseInstance (IOStreamBuffer< char > &streamBuffer, DOM *p_pcOut, PLYImporter *loader)
 Parse the DOM for a PLY file. More...
 
static bool ParseInstanceBinary (IOStreamBuffer< char > &streamBuffer, DOM *p_pcOut, PLYImporter *loader, bool p_bBE)
 
static bool SkipComments (std::vector< char > &buffer)
 Skip all comment lines after this. More...
 
static bool SkipLine (std::vector< char > &buffer)
 
static bool SkipSpaces (std::vector< char > &buffer)
 
static bool SkipSpacesAndLineEnd (std::vector< char > &buffer)
 
static bool TokenMatch (std::vector< char > &buffer, const char *token, unsigned int len)
 

Public Attributes

std::vector< ElementInstanceListalElementData
 Contains the real data of each element's instance list. More...
 
std::vector< ElementalElements
 Contains all elements of the file format. More...
 

Detailed Description

Class to represent the document object model of an ASCII or binary (both little and big-endian) PLY file.

Constructor & Destructor Documentation

◆ DOM()

Assimp::PLY::DOM::DOM ( )
inline

Default constructor.

Member Function Documentation

◆ ParseInstance()

bool PLY::DOM::ParseInstance ( IOStreamBuffer< char > &  streamBuffer,
DOM p_pcOut,
PLYImporter loader 
)
static

Parse the DOM for a PLY file.

The input string is assumed to be terminated with zero

◆ ParseInstanceBinary()

bool PLY::DOM::ParseInstanceBinary ( IOStreamBuffer< char > &  streamBuffer,
DOM p_pcOut,
PLYImporter loader,
bool  p_bBE 
)
static

◆ SkipComments()

bool PLY::DOM::SkipComments ( std::vector< char > &  buffer)
static

Skip all comment lines after this.

◆ SkipLine()

bool PLY::DOM::SkipLine ( std::vector< char > &  buffer)
static

◆ SkipSpaces()

bool PLY::DOM::SkipSpaces ( std::vector< char > &  buffer)
static

◆ SkipSpacesAndLineEnd()

bool PLY::DOM::SkipSpacesAndLineEnd ( std::vector< char > &  buffer)
static

◆ TokenMatch()

bool PLY::DOM::TokenMatch ( std::vector< char > &  buffer,
const char *  token,
unsigned int  len 
)
static

Member Data Documentation

◆ alElementData

std::vector<ElementInstanceList> Assimp::PLY::DOM::alElementData

Contains the real data of each element's instance list.

◆ alElements

std::vector<Element> Assimp::PLY::DOM::alElements

Contains all elements of the file format.


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