Flow123d  build_with_4.0.3-4b79837
Public Member Functions | Private Attributes | List of all members
Input::StorageInt Class Reference

#include <storage.hh>

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

Public Member Functions

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

std::int64_t value_
 

Detailed Description

Definition at line 121 of file storage.hh.

Constructor & Destructor Documentation

◆ StorageInt()

Input::StorageInt::StorageInt ( int  value)

Definition at line 193 of file storage.cc.

Here is the caller graph for this function:

◆ ~StorageInt()

Input::StorageInt::~StorageInt ( )
virtual

Definition at line 219 of file storage.cc.

Member Function Documentation

◆ deep_copy()

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

Implements Input::StorageBase.

Definition at line 209 of file storage.cc.

◆ get_int()

std::int64_t Input::StorageInt::get_int ( ) const
virtual

Reimplemented from Input::StorageBase.

Definition at line 199 of file storage.cc.

◆ is_null()

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

Implements Input::StorageBase.

Definition at line 205 of file storage.cc.

◆ print()

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

Implements Input::StorageBase.

Definition at line 214 of file storage.cc.

Member Data Documentation

◆ value_

std::int64_t Input::StorageInt::value_
private

Definition at line 131 of file storage.hh.


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