TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Public Attributes | List of all members
visdom::OptionPair Struct Reference

#include <visdom.h>

Public Member Functions

 OptionPair (std::string key, OptionValue &&value)
 
 OptionPair (std::string key, char const *value)
 
 OptionPair (std::string key, bool value)
 
 OptionPair (std::string key, double value)
 
 OptionPair (std::string key, float value)
 
 OptionPair (std::string key, int value)
 
 OptionPair (std::string key, std::initializer_list< std::string > value)
 

Public Attributes

std::string first
 
OptionValue second
 

Constructor & Destructor Documentation

visdom::OptionPair::OptionPair ( std::string  key,
OptionValue &&  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
char const *  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
bool  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
double  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
float  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
int  value 
)
inline
visdom::OptionPair::OptionPair ( std::string  key,
std::initializer_list< std::string >  value 
)
inline

Member Data Documentation

std::string visdom::OptionPair::first
OptionValue visdom::OptionPair::second

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