Flow123d  master-f44eb46
Public Member Functions | Private Attributes | List of all members
Input::StorageBool Class Reference

#include <storage.hh>

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

Public Member Functions

 StorageBool (bool value)
 
virtual bool get_bool () const
 
virtual bool is_null () const
 
virtual StorageBasedeep_copy () const
 
virtual void print (std::ostream &stream, int pad=0) const
 
virtual ~StorageBool ()
 
- Public Member Functions inherited from Input::StorageBase
virtual std::int64_t get_int () const
 
virtual double get_double () const
 
virtual const std::string & get_string () 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

bool value_
 

Detailed Description

Definition at line 109 of file storage.hh.

Constructor & Destructor Documentation

◆ StorageBool()

Input::StorageBool::StorageBool ( bool  value)

Definition at line 158 of file storage.cc.

Here is the caller graph for this function:

◆ ~StorageBool()

Input::StorageBool::~StorageBool ( )
virtual

Definition at line 184 of file storage.cc.

Member Function Documentation

◆ deep_copy()

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

Implements Input::StorageBase.

Definition at line 176 of file storage.cc.

◆ get_bool()

bool Input::StorageBool::get_bool ( ) const
virtual

Reimplemented from Input::StorageBase.

Definition at line 164 of file storage.cc.

◆ is_null()

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

Implements Input::StorageBase.

Definition at line 170 of file storage.cc.

◆ print()

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

Implements Input::StorageBase.

Definition at line 180 of file storage.cc.

Member Data Documentation

◆ value_

bool Input::StorageBool::value_
private

Definition at line 118 of file storage.hh.


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