Essentia
2.1-beta6-dev
|
#include <yamlast.h>
Public Types | |
enum | YamlScalarType { STRING , FLOAT } |
Public Member Functions | |
YamlScalarNode (const float &f) | |
YamlScalarNode (const std::string &s) | |
const YamlScalarType & | getType () const |
virtual | ~YamlScalarNode () |
const std::string & | toString () const |
const float & | toFloat () const |
Public Member Functions inherited from YamlNode | |
virtual | ~YamlNode ()=0 |
Private Attributes | |
YamlScalarType | _tp |
std::string | _strDS |
float | _floatDS |
enum YamlScalarType |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
References YamlScalarNode::_tp.
|
inline |
References YamlScalarNode::_floatDS, YamlScalarNode::_tp, and YamlScalarNode::FLOAT.
|
inline |
References YamlScalarNode::_strDS, YamlScalarNode::_tp, and YamlScalarNode::STRING.
|
private |
Referenced by YamlScalarNode::toFloat().
|
private |
Referenced by YamlScalarNode::toString().
|
private |
Referenced by YamlScalarNode::getType(), YamlScalarNode::toFloat(), and YamlScalarNode::toString().