LifeV
StringData Class Reference

#include <StringData.hpp>

+ Collaboration diagram for StringData:

Constructor

 StringData ()
 
 StringData (std::string str, Int val, std::string help)
 
virtual ~StringData ()
 

Get methods

const std::string & help () const
 
std::string & help ()
 
const std::string & string () const
 
std::string & string ()
 
const Intvalue () const
 
Intvalue ()
 

Private members

std::string M_string
 
Int M_value
 
std::string M_help
 

Detailed Description

A data string contains a string (the name used in a data file), a integer value (the value used inside the code), a small help text

Definition at line 52 of file StringData.hpp.

Constructor & Destructor Documentation

◆ StringData() [1/2]

StringData ( )
inline

Definition at line 57 of file StringData.hpp.

◆ StringData() [2/2]

StringData ( std::string  str,
Int  val,
std::string  help 
)

Definition at line 50 of file StringData.cpp.

+ Here is the caller graph for this function:

◆ ~StringData()

virtual ~StringData ( )
inlinevirtual

Definition at line 60 of file StringData.hpp.

Member Function Documentation

◆ help() [1/2]

const std::string& help ( ) const
inline

Definition at line 65 of file StringData.hpp.

◆ help() [2/2]

std::string& help ( )
inline

Definition at line 70 of file StringData.hpp.

◆ string() [1/2]

const std::string& string ( ) const
inline

Definition at line 75 of file StringData.hpp.

◆ string() [2/2]

std::string& string ( )
inline

Definition at line 80 of file StringData.hpp.

◆ value() [1/2]

const Int& value ( ) const
inline

Definition at line 85 of file StringData.hpp.

◆ value() [2/2]

Int& value ( )
inline

Definition at line 90 of file StringData.hpp.

Field Documentation

◆ M_string

std::string M_string
private

Definition at line 99 of file StringData.hpp.

◆ M_value

Int M_value
private

Definition at line 100 of file StringData.hpp.

◆ M_help

std::string M_help
private

Definition at line 101 of file StringData.hpp.


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