Assimp  v4.1. (December 2018)
Assimp::JSONWriter Class Reference

Public Types

enum  { Flag_DoNotIndent = 0x1, Flag_WriteSpecialFloats = 0x2 }
 

Public Member Functions

void AddIndentation ()
 
void Delimit ()
 
template<typename Literal >
void Element (const Literal &name)
 
void EndArray ()
 
void EndObj ()
 
void Flush ()
 
 JSONWriter (Assimp::IOStream &out, unsigned int flags=0u)
 
void Key (const std::string &name)
 
void PopIndent ()
 
void PushIndent ()
 
template<typename Literal >
void SimpleValue (const Literal &s)
 
void SimpleValue (const void *buffer, size_t len)
 
void StartArray (bool is_element=false)
 
void StartObj (bool is_element=false)
 
 ~JSONWriter ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Flag_DoNotIndent 
Flag_WriteSpecialFloats 

Constructor & Destructor Documentation

◆ JSONWriter()

Assimp::JSONWriter::JSONWriter ( Assimp::IOStream out,
unsigned int  flags = 0u 
)
inline

◆ ~JSONWriter()

Assimp::JSONWriter::~JSONWriter ( )
inline

Member Function Documentation

◆ AddIndentation()

void Assimp::JSONWriter::AddIndentation ( )
inline

◆ Delimit()

void Assimp::JSONWriter::Delimit ( )
inline

◆ Element()

template<typename Literal >
void Assimp::JSONWriter::Element ( const Literal &  name)
inline

◆ EndArray()

void Assimp::JSONWriter::EndArray ( )
inline

◆ EndObj()

void Assimp::JSONWriter::EndObj ( )
inline

◆ Flush()

void Assimp::JSONWriter::Flush ( )
inline

◆ Key()

void Assimp::JSONWriter::Key ( const std::string &  name)
inline

◆ PopIndent()

void Assimp::JSONWriter::PopIndent ( )
inline

◆ PushIndent()

void Assimp::JSONWriter::PushIndent ( )
inline

◆ SimpleValue() [1/2]

template<typename Literal >
void Assimp::JSONWriter::SimpleValue ( const Literal &  s)
inline

◆ SimpleValue() [2/2]

void Assimp::JSONWriter::SimpleValue ( const void *  buffer,
size_t  len 
)
inline

◆ StartArray()

void Assimp::JSONWriter::StartArray ( bool  is_element = false)
inline

◆ StartObj()

void Assimp::JSONWriter::StartObj ( bool  is_element = false)
inline

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