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

#include <MprBasicStatements.h>

Inheritance diagram for cnoid::MprAssignStatement:
cnoid::MprStatement cnoid::ClonableReferenced cnoid::Referenced

Public Member Functions

 MprAssignStatement ()
 
virtual std::string label (int index) const override
 
const std::string variableExpression () const
 
void setVariableExpression (const std::string &expression)
 
const std::string valueExpression () const
 
void setValueExpression (const std::string &expression)
 
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
 
MprProgramholderProgram () const
 
MprStructuredStatementholderStatement () const
 
MprProgramtopLevelProgram () const
 
virtual MprProgramgetLowerLevelProgram ()
 
void notifyUpdate ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

 MprAssignStatement (const MprAssignStatement &org)
 
virtual ReferenceddoClone (CloneMap *cloneMap) const override
 
- 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
 

Constructor & Destructor Documentation

◆ MprAssignStatement() [1/2]

MprAssignStatement::MprAssignStatement ( )

◆ MprAssignStatement() [2/2]

MprAssignStatement::MprAssignStatement ( const MprAssignStatement org)
protected

Member Function Documentation

◆ doClone()

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

◆ label()

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

Implements cnoid::MprStatement.

◆ read()

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

Implements cnoid::MprStatement.

◆ setValueExpression()

void cnoid::MprAssignStatement::setValueExpression ( const std::string &  expression)
inline

◆ setVariableExpression()

void cnoid::MprAssignStatement::setVariableExpression ( const std::string &  expression)
inline

◆ valueExpression()

const std::string cnoid::MprAssignStatement::valueExpression ( ) const
inline

◆ variableExpression()

const std::string cnoid::MprAssignStatement::variableExpression ( ) const
inline

◆ write()

bool MprAssignStatement::write ( Mapping archive) const
overridevirtual

Implements cnoid::MprStatement.


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