#include <record.h>
Public Member Functions | |
NodeRecord () | |
NodeType | getType () const |
int | size () const |
int | at (int index) const |
void | setComment (const std::string &com) |
const std::string & | getComment () const |
void | addMoveRecord (int moveIndex) |
Private Attributes | |
NodeType | type |
vector< int > | moves |
std::string | comment |
osl::record::NodeRecord::NodeRecord | ( | ) | [inline] |
void osl::record::NodeRecord::addMoveRecord | ( | int | moveIndex | ) |
int osl::record::NodeRecord::at | ( | int | index | ) | const [inline] |
Definition at line 82 of file record.h.
References moves.
Referenced by osl::record::Record::getMoves(), osl::record::Record::nodeOf(), osl::record::operator<<(), and osl::record::Record::operator[]().
const std::string& osl::record::NodeRecord::getComment | ( | ) | const [inline] |
NodeType osl::record::NodeRecord::getType | ( | ) | const [inline] |
void osl::record::NodeRecord::setComment | ( | const std::string & | com | ) | [inline] |
int osl::record::NodeRecord::size | ( | ) | const [inline] |
Definition at line 81 of file record.h.
References moves.
Referenced by osl::record::Record::getMoves(), and osl::record::operator<<().
std::string osl::record::NodeRecord::comment [private] |
Definition at line 77 of file record.h.
Referenced by getComment(), and setComment().
vector<int> osl::record::NodeRecord::moves [private] |
NodeType osl::record::NodeRecord::type [private] |