OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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 35 of file parameter.hpp.

Member Enumeration Documentation

◆ attributes

Enumerator
NAME 
SYMBOL 
UNITS 
DESCRIPTION 
FORMAT_STRING 
TYPE 
FIXED_VALUE 

Definition at line 37 of file parameter.hpp.

Member Function Documentation

◆ checkMandatories()

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

Definition at line 54 of file parameter.hpp.

References name_m, and type_m.

◆ parse()

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

Member Data Documentation

◆ count_m

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

Definition at line 52 of file parameter.hpp.

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

◆ description_m

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

Definition at line 49 of file parameter.hpp.

Referenced by SDDS::operator<<().

◆ name_m

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

Definition at line 47 of file parameter.hpp.

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

◆ order_m

unsigned int SDDS::parameter::order_m

Definition at line 46 of file parameter.hpp.

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

◆ type_m

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

Definition at line 50 of file parameter.hpp.

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

◆ units_m

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

Definition at line 48 of file parameter.hpp.

Referenced by SDDS::operator<<().

◆ value_m

ast::variant_t SDDS::parameter::value_m

Definition at line 51 of file parameter.hpp.


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