Choreonoid  1.8
Classes | Public Member Functions | Friends | List of all members
cnoid::YAMLReader Class Reference

#include <YAMLReader.h>

Public Member Functions

 YAMLReader ()
 
 ~YAMLReader ()
 
template<class TMapping >
void setMappingClass ()
 
void expectRegularMultiListing ()
 
bool load (const std::string &filename)
 
bool parse (const std::string &yamlstring)
 
bool parse (const char *input, size_t size)
 
ValueNodeloadDocument (const std::string &filename)
 
int numDocuments ()
 
ValueNodedocument (int index=0)
 
ValueNodefindAnchoredNode (const std::string &anchor)
 
void importAnchors (const YAMLReader &anotherReader)
 
void clearDocuments ()
 
const std::string & errorMessage ()
 

Friends

class YAMLReaderImpl
 

Constructor & Destructor Documentation

◆ YAMLReader()

YAMLReader::YAMLReader ( )

◆ ~YAMLReader()

YAMLReader::~YAMLReader ( )

Member Function Documentation

◆ clearDocuments()

void YAMLReader::clearDocuments ( )

◆ document()

ValueNode * YAMLReader::document ( int  index = 0)

◆ errorMessage()

const std::string & YAMLReader::errorMessage ( )

◆ expectRegularMultiListing()

void YAMLReader::expectRegularMultiListing ( )

◆ findAnchoredNode()

ValueNode * YAMLReader::findAnchoredNode ( const std::string &  anchor)

◆ importAnchors()

void YAMLReader::importAnchors ( const YAMLReader anotherReader)

◆ load()

bool YAMLReader::load ( const std::string &  filename)

◆ loadDocument()

ValueNode * YAMLReader::loadDocument ( const std::string &  filename)

◆ numDocuments()

int YAMLReader::numDocuments ( )

◆ parse() [1/2]

bool YAMLReader::parse ( const char *  input,
size_t  size 
)

◆ parse() [2/2]

bool YAMLReader::parse ( const std::string &  yamlstring)

◆ setMappingClass()

template<class TMapping >
void cnoid::YAMLReader::setMappingClass ( )
inline

Friends And Related Function Documentation

◆ YAMLReaderImpl

friend class YAMLReaderImpl
friend

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