Scid  4.7.0
Public Member Functions | Public Attributes | List of all members
moveT Struct Reference

#include <movetree.h>

Collaboration diagram for moveT:
Collaboration graph
[legend]

Public Member Functions

void clear ()
 
bool startMarker () const
 
bool endMarker () const
 
bool isNull () const
 
template<typename TNew >
moveTcloneLine (moveT *parent, TNew newMove) const
 
void swapLine (moveT &move)
 
const moveTgetPrevMove () const
 
std::pair< const moveT *, const moveT * > getParent () const
 
std::pair< moveT *, moveT * > getParent ()
 
const moveTnextMoveInPGN () const
 
void setNext (moveT *move)
 
void insertChild (moveT *varStart, int pos)
 
void appendChild (moveT *varStart)
 
void detachChild (moveT *varStart)
 

Public Attributes

simpleMoveT moveData
 
moveTprev
 
moveTnext
 
moveTvarChild
 
char san [10]
 
markerT marker
 
byte numVariations
 
byte nagCount
 
byte nags [MAX_NAGS]
 
std::string comment
 

Detailed Description

Definition at line 62 of file movetree.h.

Member Function Documentation

◆ appendChild()

void moveT::appendChild ( moveT varStart)
inline

Definition at line 192 of file movetree.h.

◆ clear()

void moveT::clear ( )
inline

Definition at line 74 of file movetree.h.

◆ cloneLine()

template<typename TNew >
moveT* moveT::cloneLine ( moveT parent,
TNew  newMove 
) const
inline

Definition at line 92 of file movetree.h.

◆ detachChild()

void moveT::detachChild ( moveT varStart)
inline

Definition at line 194 of file movetree.h.

◆ endMarker()

bool moveT::endMarker ( ) const
inline

Definition at line 88 of file movetree.h.

◆ getParent() [1/2]

std::pair<const moveT*, const moveT*> moveT::getParent ( ) const
inline

Definition at line 145 of file movetree.h.

◆ getParent() [2/2]

std::pair<moveT*, moveT*> moveT::getParent ( )
inline

Definition at line 153 of file movetree.h.

◆ getPrevMove()

const moveT* moveT::getPrevMove ( ) const
inline

Definition at line 137 of file movetree.h.

◆ insertChild()

void moveT::insertChild ( moveT varStart,
int  pos 
)
inline

Definition at line 177 of file movetree.h.

◆ isNull()

bool moveT::isNull ( ) const
inline

Definition at line 89 of file movetree.h.

◆ nextMoveInPGN()

const moveT* moveT::nextMoveInPGN ( ) const
inline

Definition at line 161 of file movetree.h.

◆ setNext()

void moveT::setNext ( moveT move)
inline

Definition at line 171 of file movetree.h.

◆ startMarker()

bool moveT::startMarker ( ) const
inline

Definition at line 87 of file movetree.h.

◆ swapLine()

void moveT::swapLine ( moveT move)
inline

Definition at line 117 of file movetree.h.

Member Data Documentation

◆ comment

std::string moveT::comment

Definition at line 72 of file movetree.h.

◆ marker

markerT moveT::marker

Definition at line 68 of file movetree.h.

◆ moveData

simpleMoveT moveT::moveData

Definition at line 63 of file movetree.h.

◆ nagCount

byte moveT::nagCount

Definition at line 70 of file movetree.h.

◆ nags

byte moveT::nags[MAX_NAGS]

Definition at line 71 of file movetree.h.

◆ next

moveT* moveT::next

Definition at line 65 of file movetree.h.

◆ numVariations

byte moveT::numVariations

Definition at line 69 of file movetree.h.

◆ prev

moveT* moveT::prev

Definition at line 64 of file movetree.h.

◆ san

char moveT::san[10]

Definition at line 67 of file movetree.h.

◆ varChild

moveT* moveT::varChild

Definition at line 66 of file movetree.h.


The documentation for this struct was generated from the following file: