Flow123d  JS_before_hm-2039-g19af1f327
Public Member Functions | Private Attributes | List of all members
Input::StorageDouble Class Reference

#include <storage.hh>

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

Public Member Functions

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

double value_
 

Detailed Description

Definition at line 134 of file storage.hh.

Constructor & Destructor Documentation

◆ StorageDouble()

Input::StorageDouble::StorageDouble ( double  value)

Definition at line 228 of file storage.cc.

Here is the caller graph for this function:

◆ ~StorageDouble()

Input::StorageDouble::~StorageDouble ( )
virtual

Definition at line 254 of file storage.cc.

Member Function Documentation

◆ deep_copy()

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

Implements Input::StorageBase.

Definition at line 244 of file storage.cc.

◆ get_double()

double Input::StorageDouble::get_double ( ) const
virtual

Reimplemented from Input::StorageBase.

Definition at line 234 of file storage.cc.

◆ is_null()

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

Implements Input::StorageBase.

Definition at line 240 of file storage.cc.

◆ print()

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

Implements Input::StorageBase.

Definition at line 249 of file storage.cc.

Member Data Documentation

◆ value_

double Input::StorageDouble::value_
private

Definition at line 144 of file storage.hh.


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