FlightGear next
ViewPropertyEvaluator Namespace Reference

Classes

struct  Debug
 
struct  Dump
 
struct  DumpOne
 
struct  Node
 
struct  NodeDump
 
struct  Sequence
 
struct  SequenceDump
 

Functions

void rescanNode (Node &node)
 
void rescanSequence (Sequence &sequence)
 
std::shared_ptr< SequencegetSequence (const char *spec)
 
const std::string & getNodeStringValue (Node &node)
 
const std::string & getSequenceStringValue (Sequence &sequence)
 
SGPropertyNode * getSequenceNode (Sequence &sequence)
 
double getSequenceDoubleValue (Sequence &sequence, double default_=0)
 
const char * getSequenceEnd (const char *spec)
 
const char * getNodeEnd (const char *spec)
 
std::shared_ptr< SequencegetSequenceInternal (const char *spec, Node *parent)
 
std::shared_ptr< NodegetNodeInternal (const char *spec, Sequence *parent)
 
SGPropertyNode * getNodeSGNode (Node &node, bool cache=true)
 
bool getSequenceBoolValue (Sequence &sequence, bool default_)
 
const std::string & getStringValue (const char *spec)
 
double getDoubleValue (const char *spec, double default_)
 
bool getBoolValue (const char *spec, bool default_)
 
std::ostream & operator<< (std::ostream &out, const Dump &dump)
 
std::ostream & operator<< (std::ostream &out, const DumpOne &dumpone)
 
void clear ()
 
std::ostream & operator<< (std::ostream &out, const Debug::StatsShow &)
 
std::ostream & operator<< (std::ostream &out, const SequenceDump &self)
 
std::ostream & operator<< (std::ostream &out, const NodeDump &self)
 
void dump ()
 

Variables

Debug debug
 
std::map< const char *, std::shared_ptr< Sequence > > spec_to_sequence
 
std::map< std::string, std::shared_ptr< Sequence > > string_to_sequence
 
std::map< std::string, std::shared_ptr< Node > > string_to_node
 

Function Documentation

◆ clear()

void ViewPropertyEvaluator::clear ( )

Definition at line 605 of file ViewPropertyEvaluator.cxx.

◆ dump()

void ViewPropertyEvaluator::dump ( )

Definition at line 740 of file ViewPropertyEvaluator.cxx.

◆ getBoolValue()

bool ViewPropertyEvaluator::getBoolValue ( const char * spec,
bool default_ )

Definition at line 540 of file ViewPropertyEvaluator.cxx.

◆ getDoubleValue()

double ViewPropertyEvaluator::getDoubleValue ( const char * spec,
double default_ )

Definition at line 529 of file ViewPropertyEvaluator.cxx.

◆ getNodeEnd()

const char * ViewPropertyEvaluator::getNodeEnd ( const char * spec)

Definition at line 209 of file ViewPropertyEvaluator.cxx.

◆ getNodeInternal()

std::shared_ptr< Node > ViewPropertyEvaluator::getNodeInternal ( const char * spec,
Sequence * parent )

Definition at line 337 of file ViewPropertyEvaluator.cxx.

◆ getNodeSGNode()

SGPropertyNode * ViewPropertyEvaluator::getNodeSGNode ( Node & node,
bool cache = true )

Definition at line 393 of file ViewPropertyEvaluator.cxx.

◆ getNodeStringValue()

const std::string & ViewPropertyEvaluator::getNodeStringValue ( Node & node)

Definition at line 436 of file ViewPropertyEvaluator.cxx.

◆ getSequence()

std::shared_ptr< Sequence > ViewPropertyEvaluator::getSequence ( const char * spec)

Definition at line 372 of file ViewPropertyEvaluator.cxx.

◆ getSequenceBoolValue()

bool ViewPropertyEvaluator::getSequenceBoolValue ( Sequence & sequence,
bool default_ )

Definition at line 512 of file ViewPropertyEvaluator.cxx.

◆ getSequenceDoubleValue()

double ViewPropertyEvaluator::getSequenceDoubleValue ( Sequence & sequence,
double default_ = 0 )

Definition at line 487 of file ViewPropertyEvaluator.cxx.

◆ getSequenceEnd()

const char * ViewPropertyEvaluator::getSequenceEnd ( const char * spec)

Definition at line 179 of file ViewPropertyEvaluator.cxx.

◆ getSequenceInternal()

std::shared_ptr< Sequence > ViewPropertyEvaluator::getSequenceInternal ( const char * spec,
Node * parent )

Definition at line 299 of file ViewPropertyEvaluator.cxx.

◆ getSequenceNode()

SGPropertyNode * ViewPropertyEvaluator::getSequenceNode ( Sequence & sequence)

Definition at line 472 of file ViewPropertyEvaluator.cxx.

◆ getSequenceStringValue()

const std::string & ViewPropertyEvaluator::getSequenceStringValue ( Sequence & sequence)

Definition at line 458 of file ViewPropertyEvaluator.cxx.

◆ getStringValue()

const std::string & ViewPropertyEvaluator::getStringValue ( const char * spec)

Definition at line 523 of file ViewPropertyEvaluator.cxx.

◆ operator<<() [1/5]

std::ostream & ViewPropertyEvaluator::operator<< ( std::ostream & out,
const Debug::StatsShow &  )

Definition at line 647 of file ViewPropertyEvaluator.cxx.

◆ operator<<() [2/5]

std::ostream & ViewPropertyEvaluator::operator<< ( std::ostream & out,
const Dump & dump )

Definition at line 551 of file ViewPropertyEvaluator.cxx.

◆ operator<<() [3/5]

std::ostream & ViewPropertyEvaluator::operator<< ( std::ostream & out,
const DumpOne & dumpone )

Definition at line 594 of file ViewPropertyEvaluator.cxx.

◆ operator<<() [4/5]

std::ostream & ViewPropertyEvaluator::operator<< ( std::ostream & out,
const NodeDump & self )

Definition at line 713 of file ViewPropertyEvaluator.cxx.

◆ operator<<() [5/5]

std::ostream & ViewPropertyEvaluator::operator<< ( std::ostream & out,
const SequenceDump & self )

Definition at line 690 of file ViewPropertyEvaluator.cxx.

◆ rescanNode()

void ViewPropertyEvaluator::rescanNode ( Node & node)

Definition at line 261 of file ViewPropertyEvaluator.cxx.

◆ rescanSequence()

void ViewPropertyEvaluator::rescanSequence ( Sequence & sequence)

Definition at line 269 of file ViewPropertyEvaluator.cxx.

Variable Documentation

◆ debug

Debug ViewPropertyEvaluator::debug

Definition at line 138 of file ViewPropertyEvaluator.cxx.

◆ spec_to_sequence

std::map<const char*, std::shared_ptr<Sequence> > ViewPropertyEvaluator::spec_to_sequence

Definition at line 283 of file ViewPropertyEvaluator.cxx.

◆ string_to_node

std::map<std::string, std::shared_ptr<Node> > ViewPropertyEvaluator::string_to_node

Definition at line 288 of file ViewPropertyEvaluator.cxx.

◆ string_to_sequence

std::map<std::string, std::shared_ptr<Sequence> > ViewPropertyEvaluator::string_to_sequence

Definition at line 287 of file ViewPropertyEvaluator.cxx.