Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::MprConditionStatement Class Reference

#include <MprBasicStatements.h>

Inheritance diagram for cnoid::MprConditionStatement:
cnoid::MprStructuredStatement cnoid::MprStatement cnoid::ClonableReferenced cnoid::Referenced cnoid::MprIfStatement cnoid::MprWhileStatement

Public Member Functions

const std::string condition () const
 
void setCondition (const std::string &condition)
 
virtual bool read (MprProgram *program, const Mapping &archive) override
 
virtual bool write (Mapping &archive) const override
 
- Public Member Functions inherited from cnoid::MprStructuredStatement
MprProgramlowerLevelProgram ()
 
const MprProgramlowerLevelProgram () const
 
void setStructuredStatementAttribute (int attr)
 
bool hasStructuredStatementAttribute (int attr) const
 
virtual MprProgramgetLowerLevelProgram () override
 
virtual bool isExpandedByDefault () const
 
- Public Member Functions inherited from cnoid::MprStatement
int classId () const
 
MprStatementclone () const
 
MprStatementclone (CloneMap &cloneMap) const
 
std::string label () const
 
virtual std::string label (int index) const =0
 
MprProgramholderProgram () const
 
MprStructuredStatementholderStatement () const
 
MprProgramtopLevelProgram () const
 
void notifyUpdate ()
 
- Public Member Functions inherited from cnoid::ClonableReferenced
virtual ReferenceddoClone (CloneMap *cloneMap) const =0
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

 MprConditionStatement ()
 
 MprConditionStatement (const MprConditionStatement &org, CloneMap *cloneMap)
 
- Protected Member Functions inherited from cnoid::MprStructuredStatement
 MprStructuredStatement ()
 
 MprStructuredStatement (const MprStructuredStatement &org, CloneMap *cloneMap)
 
 ~MprStructuredStatement ()
 
- Protected Member Functions inherited from cnoid::MprStatement
 MprStatement ()
 
 MprStatement (const MprStatement &org)
 
 ~MprStatement ()
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Additional Inherited Members

- Public Types inherited from cnoid::MprStructuredStatement
enum  Attribute { ArbitraryLowerLevelProgram = 1 }
 

Constructor & Destructor Documentation

◆ MprConditionStatement() [1/2]

MprConditionStatement::MprConditionStatement ( )
protected

◆ MprConditionStatement() [2/2]

MprConditionStatement::MprConditionStatement ( const MprConditionStatement org,
CloneMap cloneMap 
)
protected

Member Function Documentation

◆ condition()

const std::string cnoid::MprConditionStatement::condition ( ) const
inline

◆ read()

bool MprConditionStatement::read ( MprProgram program,
const Mapping archive 
)
overridevirtual

◆ setCondition()

void cnoid::MprConditionStatement::setCondition ( const std::string &  condition)
inline

◆ write()

bool MprConditionStatement::write ( Mapping archive) const
overridevirtual

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