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

#include <MprBasicStatements.h>

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

Public Member Functions

 MprWhileStatement ()
 
virtual std::string label (int index) const override
 
virtual bool read (MprProgram *program, const Mapping &archive) override
 
virtual bool write (Mapping &archive) const override
 
- Public Member Functions inherited from cnoid::MprConditionStatement
const std::string condition () const
 
void setCondition (const std::string &condition)
 
- 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
 
MprProgramholderProgram () const
 
MprStructuredStatementholderStatement () const
 
MprProgramtopLevelProgram () const
 
void notifyUpdate ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

 MprWhileStatement (const MprWhileStatement &org, CloneMap *cloneMap)
 
virtual ReferenceddoClone (CloneMap *cloneMap) const override
 
- Protected Member Functions inherited from cnoid::MprConditionStatement
 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

◆ MprWhileStatement() [1/2]

MprWhileStatement::MprWhileStatement ( )

◆ MprWhileStatement() [2/2]

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

Member Function Documentation

◆ doClone()

Referenced * MprWhileStatement::doClone ( CloneMap cloneMap) const
overrideprotectedvirtual

◆ label()

std::string MprWhileStatement::label ( int  index) const
overridevirtual

Implements cnoid::MprStatement.

◆ read()

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

Reimplemented from cnoid::MprConditionStatement.

◆ write()

bool MprWhileStatement::write ( Mapping archive) const
overridevirtual

Reimplemented from cnoid::MprConditionStatement.


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