Choreonoid  1.1
構成 | Public メソッド | Static Public メソッド | Protected メソッド | Protected 変数 | フレンド | すべてのメンバ一覧
クラス cnoid::YamlNode

#include <YamlNodes.h>

cnoid::YamlNodeに対する継承グラフ
cnoid::YamlCollection cnoid::YamlScalar cnoid::YamlMapping cnoid::YamlSequence

構成

class  DocumentNotFoundException
 
class  Exception
 
class  KeyNotFoundException
 
class  NotMappingException
 
class  NotScalarException
 
class  NotSequenceException
 
class  ScalarTypeMismatchException
 
class  SyntaxException
 

Public メソッド

bool isValid () const
 
YamlNodeType type () const
 
int toInt () const
 
double toDouble () const
 
bool toBool () const
 
bool isString () const
 
const std::string & toString () const
 
const std::string & toUtf8String () const
 
 operator const std::string & () const
 
bool isMapping () const
 
const YamlMappingtoMapping () const
 
YamlMappingtoMapping ()
 
bool isSequence () const
 
const YamlSequencetoSequence () const
 
YamlSequencetoSequence ()
 
bool read (int &out_value) const
 
bool hasLineInfo () const
 
int line () const
 
int column () const
 

Static Public メソッド

static void initialize ()
 

Protected メソッド

 YamlNode ()
 
 YamlNode (YamlNodeType type)
 
virtual ~YamlNode ()
 
void throwNotScalrException () const
 
void throwNotMappingException () const
 
void throwNotSequenceException () const
 

Protected 変数

YamlNodeType type_
 

フレンド

class YamlReaderImpl
 
class YamlWriter
 
class YamlScalar
 
class YamlMapping
 
class YamlSequence
 
void intrusive_ptr_add_ref (YamlNode *obj)
 
void intrusive_ptr_release (YamlNode *obj)
 

コンストラクタとデストラクタ

cnoid::YamlNode::YamlNode ( )
inlineprotected
cnoid::YamlNode::YamlNode ( YamlNodeType  type)
inlineprotected
virtual cnoid::YamlNode::~YamlNode ( )
inlineprotectedvirtual

関数

int cnoid::YamlNode::column ( ) const
inline
bool cnoid::YamlNode::hasLineInfo ( ) const
inline
void YamlNode::initialize ( )
static
bool cnoid::YamlNode::isMapping ( ) const
inline
bool cnoid::YamlNode::isSequence ( ) const
inline
bool cnoid::YamlNode::isString ( ) const
inline
bool cnoid::YamlNode::isValid ( ) const
inline
int cnoid::YamlNode::line ( ) const
inline
cnoid::YamlNode::operator const std::string & ( ) const
inline
bool YamlNode::read ( int &  out_value) const
void YamlNode::throwNotMappingException ( ) const
protected
void YamlNode::throwNotScalrException ( ) const
protected
void YamlNode::throwNotSequenceException ( ) const
protected
bool YamlNode::toBool ( ) const
double YamlNode::toDouble ( ) const
int YamlNode::toInt ( ) const
const YamlMapping * YamlNode::toMapping ( ) const
YamlMapping * YamlNode::toMapping ( )
const YamlSequence * YamlNode::toSequence ( ) const
YamlSequence * YamlNode::toSequence ( )
const std::string & YamlNode::toString ( ) const
const std::string & YamlNode::toUtf8String ( ) const
YamlNodeType cnoid::YamlNode::type ( ) const
inline

フレンドと関連する関数

void intrusive_ptr_add_ref ( cnoid::YamlNode obj)
friend
void intrusive_ptr_release ( cnoid::YamlNode obj)
friend
friend class YamlMapping
friend
friend class YamlReaderImpl
friend
friend class YamlScalar
friend
friend class YamlSequence
friend
friend class YamlWriter
friend

変数

YamlNodeType cnoid::YamlNode::type_
protected

このクラスの説明は次のファイルから生成されました: