Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

Benzene.hpp File Reference

Go to the source code of this file.

Defines

#define _BEGIN_BENZENE_NAMESPACE_   namespace benzene {
 Begins the benzene namespace.
#define _END_BENZENE_NAMESPACE_   }
 Ends the benzene namespace.

Functions

template<typename T >
void UNUSED (const T &)
 Suppresses compiler warnings about unused variables.

Detailed Description

Definition in file Benzene.hpp.


Define Documentation

#define _BEGIN_BENZENE_NAMESPACE_   namespace benzene {

Begins the benzene namespace.

Should be used in all header files, immediately after the include directives.

Definition at line 48 of file Benzene.hpp.

#define _END_BENZENE_NAMESPACE_   }

Ends the benzene namespace.

Should be used at the end of every header file.

Definition at line 53 of file Benzene.hpp.


Function Documentation

template<typename T >
void UNUSED ( const T &   )  [inline]

Suppresses compiler warnings about unused variables.

This is not the best solution, since it's possible to call this function on a variable and then use it later on. The macro defined below is better in that it prevents this from happening, but confuses doxygen. We use this one for now as a compromise.

Definition at line 19 of file Benzene.hpp.

Referenced by VariationInfo::CheckCollision(), SearchedState::CheckCollision(), BookBuilderCommands< PLAYER >::CmdBookIncreaseWidth(), BookBuilderCommands< PLAYER >::CmdBookRefresh(), DfpnCommands::CmdClearTT(), DfsCommands::CmdSolverClearTT(), VCCommands::CmdUndoIncremental(), HexUctPolicy::PickRandomPatternMove(), DfsData::ReplaceWith(), WolvePlayer::Search(), HexAbSearch::Search(), HandicapPlayer::Search(), and WolveSearch::UndoMove().


6 Jan 2011 Doxygen 1.6.3