Loading...
Searching...
No Matches
PLMD::Keywords::KeyType Class Reference

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

Public Types

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

Public Member Functions

 KeyType (const std::string &type)
bool isAtomList () const
bool isCompulsory () const
bool isFlag () const
bool isOptional () const
bool isVessel () const
void setStyle (const std::string &type)
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

anonymous enum
Enumerator
hidden 
compulsory 
flag 
optional 
atoms 
vessel 

Constructor & Destructor Documentation

◆ KeyType()

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

Member Function Documentation

◆ isAtomList()

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

◆ isCompulsory()

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

◆ isFlag()

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

◆ isOptional()

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

◆ isVessel()

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

◆ setStyle()

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

◆ toString()

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: