tfel
Loading...
Searching...
No Matches
mfront::bbrick::OptionDescription Struct Reference

class describing the option expected by a stress potential, an inelastic flow, etc. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourBrick/OptionDescription.hxx>

Public Types

enum  Type {
  MATERIALPROPERTY , ARRAYOFMATERIALPROPERTIES , BOOLEAN , REAL ,
  STRING , DOUBLEDOUBLEMAP , DATAMAP , DATASTRUCTURE ,
  DATASTRUCTURES
}
 allowed types for an option More...

Public Member Functions

 OptionDescription (const std::string &, const std::string &, const Type)
 constructor
 OptionDescription (const std::string &, const std::string &, const Type, const std::vector< std::string > &, const std::vector< std::string > &)
 constructor
 OptionDescription (const std::string &, const tfel::glossary::GlossaryEntry &, const Type)
 constructor
 OptionDescription (const std::string &, const tfel::glossary::GlossaryEntry &, const Type, const std::vector< std::string > &, const std::vector< std::string > &)
 constructor
 OptionDescription ()
 default constructor
 OptionDescription (const OptionDescription &)
 copy constructor
 OptionDescription (OptionDescription &&) noexcept
 move constructor
OptionDescription & operator= (const OptionDescription &)
 standard assignement
OptionDescription & operator= (OptionDescription &&) noexcept
 move assignement
 ~OptionDescription ()
 destructor

Public Attributes

std::string name
 name of the option
std::string description
 description of the option
Type type
 type of the option
std::vector< std::string > required_options
 list of the options that must be set if the current option is set.
std::vector< std::string > incompatible_options
 list the options that must not be set if the current option is set.

Detailed Description

class describing the option expected by a stress potential, an inelastic flow, etc.

Member Enumeration Documentation

◆ Type

allowed types for an option

Enumerator
DATASTRUCTURES 

the option must be a data structure or an array of data structures.

Constructor & Destructor Documentation

◆ OptionDescription() [1/4]

mfront::bbrick::OptionDescription::OptionDescription ( const std::string & ,
const std::string & ,
const Type  )

constructor

Parameters
[in]nname
[in]ddescription
[in]ttype

◆ OptionDescription() [2/4]

mfront::bbrick::OptionDescription::OptionDescription ( const std::string & ,
const std::string & ,
const Type ,
const std::vector< std::string > & ,
const std::vector< std::string > &  )

constructor

Parameters
[in]nname
[in]ddescription
[in]ttype
[in]rorequired options
[in]eoincompatible options

◆ OptionDescription() [3/4]

mfront::bbrick::OptionDescription::OptionDescription ( const std::string & ,
const tfel::glossary::GlossaryEntry & ,
const Type  )

constructor

Parameters
[in]nname
[in]ddescription
[in]ttype

◆ OptionDescription() [4/4]

mfront::bbrick::OptionDescription::OptionDescription ( const std::string & ,
const tfel::glossary::GlossaryEntry & ,
const Type ,
const std::vector< std::string > & ,
const std::vector< std::string > &  )

constructor

Parameters
[in]nname
[in]ddescription
[in]ttype
[in]rorequired options
[in]eoincompatible options

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