Flow123d  master-1d42d53
Public Member Functions | Private Attributes | List of all members
Input::StorageString Class Reference

#include <storage.hh>

Inheritance diagram for Input::StorageString:
Inheritance graph
[legend]
Collaboration diagram for Input::StorageString:
Collaboration graph
[legend]

Public Member Functions

 StorageString (const std::string &value)
 
virtual const std::string & get_string () const
 
virtual bool is_null () const
 
virtual StorageBasedeep_copy () const
 
virtual void print (std::ostream &stream, int pad=0) const
 
virtual ~StorageString ()
 
- Public Member Functions inherited from Input::StorageBase
virtual std::int64_t get_int () const
 
virtual double get_double () const
 
virtual bool get_bool () const
 
virtual void set_item (unsigned int index, StorageBase *item)
 
virtual StorageBaseget_item (const unsigned int index) const
 
virtual unsigned int get_array_size () const
 
virtual ~StorageBase ()
 

Private Attributes

std::string value_
 

Detailed Description

Definition at line 147 of file storage.hh.

Constructor & Destructor Documentation

◆ StorageString()

Input::StorageString::StorageString ( const std::string &  value)

Definition at line 263 of file storage.cc.

Here is the caller graph for this function:

◆ ~StorageString()

Input::StorageString::~StorageString ( )
virtual

Definition at line 290 of file storage.cc.

Member Function Documentation

◆ deep_copy()

StorageBase * Input::StorageString::deep_copy ( ) const
virtual

Implements Input::StorageBase.

Definition at line 280 of file storage.cc.

◆ get_string()

const string & Input::StorageString::get_string ( ) const
virtual

Reimplemented from Input::StorageBase.

Definition at line 269 of file storage.cc.

Here is the caller graph for this function:

◆ is_null()

bool Input::StorageString::is_null ( ) const
virtual

Implements Input::StorageBase.

Definition at line 275 of file storage.cc.

◆ print()

void Input::StorageString::print ( std::ostream &  stream,
int  pad = 0 
) const
virtual

Implements Input::StorageBase.

Definition at line 285 of file storage.cc.

Member Data Documentation

◆ value_

std::string Input::StorageString::value_
private

Definition at line 157 of file storage.hh.


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