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

#include <MprStructuredStatement.h>

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

Public Types

enum  Attribute { ArbitraryLowerLevelProgram = 1 }
 

Public Member Functions

MprProgramlowerLevelProgram ()
 
const MprProgramlowerLevelProgram () const
 
void setStructuredStatementAttribute (int attr)
 
bool hasStructuredStatementAttribute (int attr) const
 
virtual MprProgramgetLowerLevelProgram () override
 
virtual bool isExpandedByDefault () const
 
virtual bool read (MprProgram *program, const Mapping &archive) override
 
virtual bool write (Mapping &archive) const override
 
- 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

 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
 

Member Enumeration Documentation

◆ Attribute

Enumerator
ArbitraryLowerLevelProgram 

Constructor & Destructor Documentation

◆ MprStructuredStatement() [1/2]

MprStructuredStatement::MprStructuredStatement ( )
protected

◆ MprStructuredStatement() [2/2]

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

◆ ~MprStructuredStatement()

MprStructuredStatement::~MprStructuredStatement ( )
protected

Member Function Documentation

◆ getLowerLevelProgram()

MprProgram * MprStructuredStatement::getLowerLevelProgram ( )
overridevirtual

Reimplemented from cnoid::MprStatement.

◆ hasStructuredStatementAttribute()

bool cnoid::MprStructuredStatement::hasStructuredStatementAttribute ( int  attr) const
inline

◆ isExpandedByDefault()

bool MprStructuredStatement::isExpandedByDefault ( ) const
virtual

Reimplemented in cnoid::MprTagTraceStatement.

◆ lowerLevelProgram() [1/2]

MprProgram* cnoid::MprStructuredStatement::lowerLevelProgram ( )
inline

◆ lowerLevelProgram() [2/2]

const MprProgram* cnoid::MprStructuredStatement::lowerLevelProgram ( ) const
inline

◆ read()

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

◆ setStructuredStatementAttribute()

void cnoid::MprStructuredStatement::setStructuredStatementAttribute ( int  attr)
inline

◆ write()

bool MprStructuredStatement::write ( Mapping archive) const
overridevirtual

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