OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SDDS::parameter Struct Reference

#include <parameter.hpp>

Classes

struct  complainUnsupported
 

Public Types

enum  attributes {
  NAME, SYMBOL, UNITS, DESCRIPTION,
  FORMAT_STRING, TYPE, FIXED_VALUE
}
 

Public Member Functions

bool checkMandatories () const
 
template<typename Iterator , typename Skipper >
bool parse (Iterator &first, Iterator last, Skipper const &skipper)
 

Public Attributes

unsigned int order_m
 
boost::optional< std::string > name_m
 
boost::optional< std::string > units_m
 
boost::optional< std::string > description_m
 
boost::optional< ast::datatypetype_m
 
ast::variant_t value_m
 

Static Public Attributes

static unsigned int count_m = 0
 

Detailed Description

Definition at line 27 of file parameter.hpp.

Member Enumeration Documentation

Enumerator
NAME 
SYMBOL 
UNITS 
DESCRIPTION 
FORMAT_STRING 
TYPE 
FIXED_VALUE 

Definition at line 29 of file parameter.hpp.

Member Function Documentation

bool SDDS::parameter::checkMandatories ( ) const
inline

Definition at line 46 of file parameter.hpp.

References name_m, and type_m.

template<typename Iterator , typename Skipper >
bool SDDS::parameter::parse ( Iterator &  first,
Iterator  last,
Skipper const &  skipper 
)
inline

Member Data Documentation

unsigned int SDDS::parameter::count_m = 0
static

Definition at line 44 of file parameter.hpp.

Referenced by SDDS::parameterOrder< Iterator >::operator()().

boost::optional<std::string> SDDS::parameter::description_m

Definition at line 41 of file parameter.hpp.

Referenced by SDDS::operator<<().

boost::optional<std::string> SDDS::parameter::name_m

Definition at line 39 of file parameter.hpp.

Referenced by checkMandatories(), SDDS::operator<<(), and SDDS::SDDSParser::run().

unsigned int SDDS::parameter::order_m

Definition at line 38 of file parameter.hpp.

Referenced by SDDS::parameterOrder< Iterator >::operator()(), and SDDS::operator<<().

boost::optional<ast::datatype> SDDS::parameter::type_m

Definition at line 42 of file parameter.hpp.

Referenced by checkMandatories(), SDDS::operator<<(), and parse().

boost::optional<std::string> SDDS::parameter::units_m

Definition at line 40 of file parameter.hpp.

Referenced by SDDS::operator<<().

ast::variant_t SDDS::parameter::value_m

Definition at line 43 of file parameter.hpp.

Referenced by parse().


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