Assimp  v4.1. (December 2018)
comparer_context Class Reference

Record our way through the files to be compared and dump useful information if we fail. More...

Public Member Functions

template<typename T >
cmp (const std::string &name)
 
template<typename T >
void cmp (size_t num, const std::string &name)
 
template<>
float cmp (const std::string &name)
 
template<>
double cmp (const std::string &name)
 
template<>
aiVector3D cmp (const std::string &name)
 
template<>
aiColor4D cmp (const std::string &name)
 
template<>
aiQuaternion cmp (const std::string &name)
 
template<>
aiQuatKey cmp (const std::string &name)
 
template<>
aiVectorKey cmp (const std::string &name)
 
template<>
aiMatrix4x4 cmp (const std::string &name)
 
template<>
aiVertexWeight cmp (const std::string &name)
 
template<typename T >
void cmp_bounds (const std::string &name)
 
 comparer_context (FILE *actual, FILE *expect)
 
FILE * get_actual () const
 
FILE * get_expect () const
 
uint32_t get_latest_chunk_length ()
 
uint32_t get_latest_chunk_start ()
 
uint32_t get_num_chunks ()
 
void pop_elem ()
 
void pop_length ()
 
void push_elem (const char *msg)
 
void push_length (uint32_t nl, uint32_t start)
 

Friends

class sliced_chunk_iterator
 

Detailed Description

Record our way through the files to be compared and dump useful information if we fail.

Constructor & Destructor Documentation

◆ comparer_context()

comparer_context::comparer_context ( FILE *  actual,
FILE *  expect 
)
inline

Member Function Documentation

◆ cmp() [1/11]

template<typename T >
T comparer_context::cmp ( const std::string &  name)
inline

◆ cmp() [2/11]

template<typename T >
void comparer_context::cmp ( size_t  num,
const std::string &  name 
)
inline

◆ cmp() [3/11]

template<>
float comparer_context::cmp ( const std::string &  name)

◆ cmp() [4/11]

template<>
double comparer_context::cmp ( const std::string &  name)

◆ cmp() [5/11]

template<>
aiVector3D comparer_context::cmp ( const std::string &  name)

◆ cmp() [6/11]

template<>
aiColor4D comparer_context::cmp ( const std::string &  name)

◆ cmp() [7/11]

template<>
aiQuaternion comparer_context::cmp ( const std::string &  name)

◆ cmp() [8/11]

template<>
aiQuatKey comparer_context::cmp ( const std::string &  name)

◆ cmp() [9/11]

template<>
aiVectorKey comparer_context::cmp ( const std::string &  name)

◆ cmp() [10/11]

template<>
aiMatrix4x4 comparer_context::cmp ( const std::string &  name)

◆ cmp() [11/11]

template<>
aiVertexWeight comparer_context::cmp ( const std::string &  name)

◆ cmp_bounds()

template<typename T >
void comparer_context::cmp_bounds ( const std::string &  name)
inline

◆ get_actual()

FILE* comparer_context::get_actual ( ) const
inline

◆ get_expect()

FILE* comparer_context::get_expect ( ) const
inline

◆ get_latest_chunk_length()

uint32_t comparer_context::get_latest_chunk_length ( )
inline

◆ get_latest_chunk_start()

uint32_t comparer_context::get_latest_chunk_start ( )
inline

◆ get_num_chunks()

uint32_t comparer_context::get_num_chunks ( )
inline

◆ pop_elem()

void comparer_context::pop_elem ( )
inline

◆ pop_length()

void comparer_context::pop_length ( )
inline

◆ push_elem()

void comparer_context::push_elem ( const char *  msg)
inline

◆ push_length()

void comparer_context::push_length ( uint32_t  nl,
uint32_t  start 
)
inline

Friends And Related Function Documentation

◆ sliced_chunk_iterator

friend class sliced_chunk_iterator
friend

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