HOG2
Public Member Functions | Public Attributes | List of all members
Rubik7EdgeState Class Reference

#include <RubiksCube7Edges.h>

Public Member Functions

 Rubik7EdgeState ()
 
void Reset ()
 
void GetDual (Rubik7EdgeState &s) const
 
int GetCubeInLoc (int whichLoc) const
 
void SetCubeInLoc (int whichLoc, int cube)
 
bool GetCubeOrientation (int whichCube) const
 
void SetCubeOrientation (int whichCube, bool flip)
 
void FlipCubeOrientation (int whichCube)
 

Public Attributes

uint64_t state
 

Detailed Description

Definition at line 19 of file RubiksCube7Edges.h.

Constructor & Destructor Documentation

◆ Rubik7EdgeState()

Rubik7EdgeState::Rubik7EdgeState ( )
inline

Definition at line 22 of file RubiksCube7Edges.h.

References Reset().

Member Function Documentation

◆ FlipCubeOrientation()

void Rubik7EdgeState::FlipCubeOrientation ( int  whichCube)
inline

Definition at line 56 of file RubiksCube7Edges.h.

References state.

Referenced by Rubik7Edge::ApplyAction().

◆ GetCubeInLoc()

int Rubik7EdgeState::GetCubeInLoc ( int  whichLoc) const
inline

◆ GetCubeOrientation()

bool Rubik7EdgeState::GetCubeOrientation ( int  whichCube) const
inline

Definition at line 44 of file RubiksCube7Edges.h.

References state.

Referenced by GetDual(), operator<<(), operator==(), and Rubik7Edge::SetCubeColor().

◆ GetDual()

void Rubik7EdgeState::GetDual ( Rubik7EdgeState s) const

◆ Reset()

void Rubik7EdgeState::Reset ( )
inline

Definition at line 26 of file RubiksCube7Edges.h.

References SetCubeInLoc(), and state.

Referenced by Rubik7EdgeState().

◆ SetCubeInLoc()

void Rubik7EdgeState::SetCubeInLoc ( int  whichLoc,
int  cube 
)
inline

Definition at line 37 of file RubiksCube7Edges.h.

References state.

Referenced by Rubik7Edge::ApplyAction(), GetDual(), and Reset().

◆ SetCubeOrientation()

void Rubik7EdgeState::SetCubeOrientation ( int  whichCube,
bool  flip 
)
inline

Definition at line 48 of file RubiksCube7Edges.h.

References state.

Referenced by GetDual().

Member Data Documentation

◆ state

uint64_t Rubik7EdgeState::state

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