tfel
Loading...
Searching...
No Matches
tfel::glossary::GlossaryEntry Struct Reference

structure describing an entry of the glossary More...

#include </home/runner/work/tfel/tfel/include/TFEL/Glossary/GlossaryEntry.hxx>

Public Member Functions

 GlossaryEntry (const GlossaryEntry &)
 copy constructor
 GlossaryEntry (GlossaryEntry &&) noexcept
 move constructor
GlossaryEntry & operator= (const GlossaryEntry &)=delete
GlossaryEntry & operator= (GlossaryEntry &&) noexcept=delete
const std::string & getKey () const
const std::vector< std::string > & getNames () const
const std::string & getUnit (const std::string_view) const
std::map< std::string, std::string > getUnits () const
const std::string & getType () const
const std::string & getShortDescription () const
const std::vector< std::string > & getDescription () const
const std::vector< std::string > & getNotes () const
bool hasLowerPhysicalBound (const std::string_view) const
std::string getLowerPhysicalBound (const std::string_view) const
bool hasUpperPhysicalBound (const std::string_view) const
std::string getUpperPhysicalBound (const std::string_view) const
 operator const std::string & () const
 cast operator to string. Equivalent to getKey()
 ~GlossaryEntry ()
 destructor

Static Public Attributes

static const char * separator
 internal name

Friends

struct Glossary
TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator< (const GlossaryEntry &, const GlossaryEntry &)
 comparison operator
TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator!= (const std::string &, const GlossaryEntry &)
TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator!= (const GlossaryEntry &, const std::string &)
TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator== (const std::string &, const GlossaryEntry &)
TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator== (const GlossaryEntry &, const std::string &)

Detailed Description

structure describing an entry of the glossary

Member Function Documentation

◆ getDescription()

const std::vector< std::string > & tfel::glossary::GlossaryEntry::getDescription ( ) const
nodiscard
Returns
the description

◆ getKey()

const std::string & tfel::glossary::GlossaryEntry::getKey ( ) const
nodiscard
Returns
the key

◆ getLowerPhysicalBound()

std::string tfel::glossary::GlossaryEntry::getLowerPhysicalBound ( const std::string_view ) const
nodiscard
Returns
the lower physical bound, if defined

◆ getNames()

const std::vector< std::string > & tfel::glossary::GlossaryEntry::getNames ( ) const
nodiscard
Returns
names asssociated with this key

◆ getNotes()

const std::vector< std::string > & tfel::glossary::GlossaryEntry::getNotes ( ) const
nodiscard
Returns
the notes

◆ getShortDescription()

const std::string & tfel::glossary::GlossaryEntry::getShortDescription ( ) const
nodiscard
Returns
the short description

◆ getType()

const std::string & tfel::glossary::GlossaryEntry::getType ( ) const
nodiscard
Returns
the type

◆ getUnit()

const std::string & tfel::glossary::GlossaryEntry::getUnit ( const std::string_view ) const
nodiscard
Returns
the unit
Parameters
[in]sunit system

◆ getUnits()

std::map< std::string, std::string > tfel::glossary::GlossaryEntry::getUnits ( ) const
nodiscard
Returns
the units

◆ getUpperPhysicalBound()

std::string tfel::glossary::GlossaryEntry::getUpperPhysicalBound ( const std::string_view ) const
nodiscard
Returns
the upper physical bound, if defined

◆ hasLowerPhysicalBound()

bool tfel::glossary::GlossaryEntry::hasLowerPhysicalBound ( const std::string_view ) const
nodiscard
Returns
if lower physical bound is defined

◆ hasUpperPhysicalBound()

bool tfel::glossary::GlossaryEntry::hasUpperPhysicalBound ( const std::string_view ) const
nodiscard
Returns
if upper physical bound is defined

◆ operator!= [1/2]

TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator!= ( const GlossaryEntry & ,
const std::string &  )
friend

comparison operator

◆ operator!= [2/2]

TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator!= ( const std::string & ,
const GlossaryEntry &  )
friend

comparison operator

◆ operator== [1/2]

TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator== ( const GlossaryEntry & ,
const std::string &  )
friend

comparison operator

◆ operator== [2/2]

TFELGLOSSARY_VISIBILITY_FRIEND_EXPORT friend bool operator== ( const std::string & ,
const GlossaryEntry &  )
friend

comparison operator


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