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

#include <RubiksCubeEdges.h>

Public Member Functions

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

Public Attributes

uint64_t state
 

Detailed Description

Definition at line 19 of file RubiksCubeEdges.h.

Constructor & Destructor Documentation

◆ RubikEdgeStateBits()

RubikEdgeStateBits::RubikEdgeStateBits ( )

Definition at line 62 of file RubiksCubeEdges.cpp.

References Reset().

Member Function Documentation

◆ Clear()

void RubikEdgeStateBits::Clear ( )

Definition at line 72 of file RubiksCubeEdges.cpp.

References state.

◆ FlipCubeOrientation()

void RubikEdgeStateBits::FlipCubeOrientation ( int  whichLoc)

Definition at line 103 of file RubiksCubeEdges.cpp.

References state.

◆ GetCubeInLoc()

int RubikEdgeStateBits::GetCubeInLoc ( int  whichLoc) const

Definition at line 76 of file RubiksCubeEdges.cpp.

References state.

Referenced by GetDual(), and operator<<().

◆ GetCubeOrientation()

bool RubikEdgeStateBits::GetCubeOrientation ( int  whichLoc) const

Definition at line 89 of file RubiksCubeEdges.cpp.

References state.

Referenced by GetDual(), and operator<<().

◆ GetDual()

void RubikEdgeStateBits::GetDual ( RubikEdgeStateBits s) const

◆ Reset()

void RubikEdgeStateBits::Reset ( )

Definition at line 66 of file RubiksCubeEdges.cpp.

References SetCubeInLoc(), and state.

Referenced by RubikEdgeStateBits().

◆ SetCubeInLoc()

void RubikEdgeStateBits::SetCubeInLoc ( int  whichLoc,
int  cube 
)

Definition at line 80 of file RubiksCubeEdges.cpp.

References state.

Referenced by GetDual(), and Reset().

◆ SetCubeOrientation()

void RubikEdgeStateBits::SetCubeOrientation ( int  whichLoc,
bool  flip 
)

Definition at line 93 of file RubiksCubeEdges.cpp.

References state.

Referenced by GetDual().

Member Data Documentation

◆ state

uint64_t RubikEdgeStateBits::state

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