Public Types | Public Member Functions | Public Attributes | List of all members
PLMD::Keywords::KeyType Class Reference

This class lets me pass keyword types easily. More...

Public Types

enum  {
  hidden, compulsory, flag, optional,
  atoms
}
 

Public Member Functions

 KeyType (const std::string &type)
 
void setStyle (const std::string &type)
 
bool isCompulsory () const
 
bool isFlag () const
 
bool isOptional () const
 
bool isAtomList () const
 
std::string toString () const
 

Public Attributes

enum PLMD::Keywords::KeyType:: { ... }  style
 

Detailed Description

This class lets me pass keyword types easily.

Member Enumeration Documentation

anonymous enum
Enumerator
hidden 
compulsory 
flag 
optional 
atoms 

Constructor & Destructor Documentation

PLMD::Keywords::KeyType::KeyType ( const std::string &  type)
explicit

Member Function Documentation

bool PLMD::Keywords::KeyType::isAtomList ( ) const
inline
bool PLMD::Keywords::KeyType::isCompulsory ( ) const
inline
bool PLMD::Keywords::KeyType::isFlag ( ) const
inline
bool PLMD::Keywords::KeyType::isOptional ( ) const
inline
void PLMD::Keywords::KeyType::setStyle ( const std::string &  type)
std::string PLMD::Keywords::KeyType::toString ( ) const
inline

Member Data Documentation

enum { ... } PLMD::Keywords::KeyType::style

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