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

#include <MprBasicStatements.h>

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

Public Member Functions

 MprCommentStatement ()
virtual std::string label (int index) const override
void setComment (const std::string &comment)
const std::string & comment () 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
MprProgramholderProgram () const
MprStructuredStatementholderStatement () const
MprProgramtopLevelProgram () const
virtual MprProgramgetLowerLevelProgram ()
void notifyUpdate ()
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()

Protected Member Functions

 MprCommentStatement (const MprCommentStatement &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

◆ MprCommentStatement() [1/2]

MprCommentStatement::MprCommentStatement ( )

◆ MprCommentStatement() [2/2]

MprCommentStatement::MprCommentStatement ( const MprCommentStatement org)

Member Function Documentation

◆ comment()

const std::string& cnoid::MprCommentStatement::comment ( ) const

◆ doClone()

Referenced * MprCommentStatement::doClone ( CloneMap cloneMap) const

◆ label()

std::string MprCommentStatement::label ( int  index) const

Implements cnoid::MprStatement.

◆ read()

bool MprCommentStatement::read ( MprProgram program,
const Mapping archive 

Implements cnoid::MprStatement.

◆ setComment()

void cnoid::MprCommentStatement::setComment ( const std::string &  comment)

◆ write()

bool MprCommentStatement::write ( Mapping archive) const

Implements cnoid::MprStatement.

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