#include <ValueTree.h>
◆ TypeBit
Enumerator |
---|
INVALID_NODE | |
SCALAR | |
MAPPING | |
LISTING | |
INSERT_LF | |
APPEND_LF | |
FORCED_RADIAN_MODE | |
◆ ValueNode() [1/2]
cnoid::ValueNode::ValueNode |
( |
| ) |
|
|
inlineprotected |
◆ ValueNode() [2/2]
cnoid::ValueNode::ValueNode |
( |
TypeBit |
type | ) |
|
|
inlineprotected |
◆ ~ValueNode()
virtual cnoid::ValueNode::~ValueNode |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ clone()
◆ column()
int cnoid::ValueNode::column |
( |
| ) |
const |
|
inline |
◆ hasLineInfo()
bool cnoid::ValueNode::hasLineInfo |
( |
| ) |
const |
|
inline |
◆ indexInMapping()
int cnoid::ValueNode::indexInMapping |
( |
| ) |
const |
|
inline |
◆ isCollection()
bool cnoid::ValueNode::isCollection |
( |
| ) |
const |
|
inline |
◆ isDegreeMode()
bool cnoid::ValueNode::isDegreeMode |
( |
| ) |
const |
|
inline |
◆ isForcedRadianMode()
bool cnoid::ValueNode::isForcedRadianMode |
( |
| ) |
const |
|
inline |
- Note
- If this is true for a top node given to a particular process, all the angle elements contained in the sub tree are foreced to radians. Note that the mode of the nodes except for the top node given to the process do not affect the angle unit.
◆ isListing()
bool cnoid::ValueNode::isListing |
( |
| ) |
const |
|
inline |
◆ isMapping()
bool cnoid::ValueNode::isMapping |
( |
| ) |
const |
|
inline |
◆ isScalar()
bool cnoid::ValueNode::isScalar |
( |
| ) |
const |
|
inline |
◆ isString()
bool cnoid::ValueNode::isString |
( |
| ) |
const |
|
inline |
◆ isValid()
bool cnoid::ValueNode::isValid |
( |
| ) |
const |
|
inline |
◆ LFType()
TypeBit cnoid::ValueNode::LFType |
( |
| ) |
const |
|
inline |
◆ line()
int cnoid::ValueNode::line |
( |
| ) |
const |
|
inline |
◆ nodeType()
TypeBit cnoid::ValueNode::nodeType |
( |
| ) |
const |
|
inline |
◆ operator bool()
cnoid::ValueNode::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ read() [1/5]
bool ValueNode::read |
( |
bool & |
out_value | ) |
const |
◆ read() [2/5]
bool ValueNode::read |
( |
double & |
out_value | ) |
const |
◆ read() [3/5]
bool ValueNode::read |
( |
float & |
out_value | ) |
const |
◆ read() [4/5]
bool ValueNode::read |
( |
int & |
out_value | ) |
const |
◆ read() [5/5]
bool ValueNode::read |
( |
std::string & |
out_value | ) |
const |
◆ setAsHeaderInMapping()
void cnoid::ValueNode::setAsHeaderInMapping |
( |
int |
priority = 1 | ) |
|
|
inline |
◆ setDegreeMode()
void cnoid::ValueNode::setDegreeMode |
( |
| ) |
|
|
inline |
◆ setForcedRadianMode()
void cnoid::ValueNode::setForcedRadianMode |
( |
bool |
on = true | ) |
|
|
inline |
◆ throwException()
void ValueNode::throwException |
( |
const std::string & |
message | ) |
const |
◆ throwNotListingException()
void ValueNode::throwNotListingException |
( |
| ) |
const |
|
protected |
◆ throwNotMappingException()
void ValueNode::throwNotMappingException |
( |
| ) |
const |
|
protected |
◆ throwNotScalrException()
void ValueNode::throwNotScalrException |
( |
| ) |
const |
|
protected |
◆ to() [1/4]
template<typename T >
T cnoid::ValueNode::to |
( |
| ) |
const |
◆ to() [2/4]
template<>
double cnoid::ValueNode::to |
( |
| ) |
const |
|
inline |
◆ to() [3/4]
template<>
float cnoid::ValueNode::to |
( |
| ) |
const |
|
inline |
◆ to() [4/4]
template<>
int cnoid::ValueNode::to |
( |
| ) |
const |
|
inline |
◆ toAngle()
double ValueNode::toAngle |
( |
| ) |
const |
◆ toBool()
bool ValueNode::toBool |
( |
| ) |
const |
◆ toDouble()
double ValueNode::toDouble |
( |
| ) |
const |
◆ toFloat()
float ValueNode::toFloat |
( |
| ) |
const |
◆ toInt()
int ValueNode::toInt |
( |
| ) |
const |
◆ toListing() [1/2]
Listing* cnoid::ValueNode::toListing |
( |
| ) |
|
◆ toListing() [2/2]
Listing * ValueNode::toListing |
( |
| ) |
const |
◆ toMapping() [1/2]
Mapping* cnoid::ValueNode::toMapping |
( |
| ) |
|
◆ toMapping() [2/2]
Mapping * ValueNode::toMapping |
( |
| ) |
const |
◆ toString()
const std::string & cnoid::ValueNode::toString |
( |
| ) |
const |
|
inline |
◆ Listing
◆ Mapping
◆ ScalarNode
◆ YAMLReaderImpl
friend class YAMLReaderImpl |
|
friend |
◆ typeBits
int cnoid::ValueNode::typeBits |
|
protected |
The documentation for this class was generated from the following files: