All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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.

Definition at line 38 of file Keywords.h.

Member Enumeration Documentation

anonymous enum
Enumerator
hidden 
compulsory 
flag 
optional 
atoms 

Definition at line 40 of file Keywords.h.

Constructor & Destructor Documentation

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

Definition at line 29 of file Keywords.cpp.

Member Function Documentation

bool PLMD::Keywords::KeyType::isAtomList ( ) const
inline

Definition at line 46 of file Keywords.h.

bool PLMD::Keywords::KeyType::isCompulsory ( ) const
inline

Definition at line 43 of file Keywords.h.

bool PLMD::Keywords::KeyType::isFlag ( ) const
inline

Definition at line 44 of file Keywords.h.

bool PLMD::Keywords::KeyType::isOptional ( ) const
inline

Definition at line 45 of file Keywords.h.

void PLMD::Keywords::KeyType::setStyle ( const std::string &  type)

Definition at line 45 of file Keywords.cpp.

std::string PLMD::Keywords::KeyType::toString ( ) const
inline

Definition at line 47 of file Keywords.h.

Member Data Documentation

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

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