All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Attributes | List of all members
osl::record::MoveRecord Class Reference

とりあえず tree を表現できるようにする. 合流は考えない. 所詮,出すのは CSA かGCF More...

#include <record.h>

Collaboration diagram for osl::record::MoveRecord:
Collaboration graph
[legend]

Public Member Functions

 MoveRecord (const Move &mv, int ni)
 
const Move getMove () const
 
int getNodeIndex () const
 
void setTime (int t)
 
int getTime () const
 
void setComment (const std::string &com)
 
void addComment (const std::string &com)
 
const std::string & getComment () const
 

Public Attributes

SearchInfo info
 

Private Attributes

Move move
 
int nodeIndex
 
int time
 
std::string comment
 

Detailed Description

とりあえず tree を表現できるようにする. 合流は考えない. 所詮,出すのは CSA かGCF

Definition at line 49 of file record.h.

Constructor & Destructor Documentation

osl::record::MoveRecord::MoveRecord ( const Move mv,
int  ni 
)

Definition at line 14 of file record.cc.

Member Function Documentation

void osl::record::MoveRecord::addComment ( const std::string &  com)
inline

Definition at line 64 of file record.h.

References comment.

Referenced by osl::record::kakinokiParseLine().

const std::string& osl::record::MoveRecord::getComment ( ) const
inline

Definition at line 70 of file record.h.

References comment.

Referenced by osl::record::Record::getMoves(), and osl::record::operator<<().

const Move osl::record::MoveRecord::getMove ( ) const

Definition at line 27 of file record.cc.

Referenced by osl::record::Record::getMoves(), and osl::record::operator<<().

int osl::record::MoveRecord::getNodeIndex ( ) const

Definition at line 29 of file record.cc.

Referenced by osl::record::Record::getMoves(), and osl::record::operator<<().

int osl::record::MoveRecord::getTime ( ) const
inline

Definition at line 62 of file record.h.

References time.

Referenced by osl::record::Record::getMoves(), and osl::record::operator<<().

void osl::record::MoveRecord::setComment ( const std::string &  com)
inline

Definition at line 63 of file record.h.

References comment.

void osl::record::MoveRecord::setTime ( int  t)

Definition at line 31 of file record.cc.

Member Data Documentation

std::string osl::record::MoveRecord::comment
private

Definition at line 54 of file record.h.

Referenced by addComment(), getComment(), and setComment().

SearchInfo osl::record::MoveRecord::info

Definition at line 56 of file record.h.

Referenced by osl::record::Record::getMoves(), and readFile().

Move osl::record::MoveRecord::move
private

Definition at line 51 of file record.h.

int osl::record::MoveRecord::nodeIndex
private

Definition at line 52 of file record.h.

int osl::record::MoveRecord::time
private

Definition at line 53 of file record.h.

Referenced by getTime().


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