|
Flow123d
jenkins-Flow123d-linux-release-multijob-282
|
#include <type_base.hh>


Public Member Functions | |
| virtual string | type_name () const |
| Returns an identification of the type. Useful for error messages. More... | |
| std::size_t | content_hash () const override |
| string | from_default (const string &str) const |
| virtual bool | match (const string &value) const |
| virtual bool | valid_default (const string &str) const |
Implements Type::TypeBase::valid_defaults. More... | |
Public Member Functions inherited from Input::Type::Scalar | |
| virtual string | full_type_name () const |
| Returns an identification of the type in format "type_name():parent->type_name()". More... | |
Public Member Functions inherited from Input::Type::TypeBase | |
| virtual bool | is_finished () const |
| string | desc () const |
| virtual bool | operator== (const TypeBase &other) const |
| bool | operator!= (const TypeBase &other) const |
| Comparison of types. More... | |
| virtual | ~TypeBase () |
| virtual bool | finish () |
Additional Inherited Members | |
Static Public Member Functions inherited from Input::Type::TypeBase | |
| static void | lazy_finish () |
| Finishes all registered lazy types. More... | |
Protected Types inherited from Input::Type::TypeBase | |
| typedef string | KeyHash |
| typedef std::vector < boost::shared_ptr< TypeBase > > | LazyTypeVector |
| typedef std::set< const TypeBase * > | LazyObjectsSet |
Protected Member Functions inherited from Input::Type::TypeBase | |
| TypeBase () | |
| TypeBase (const TypeBase &other) | |
Static Protected Member Functions inherited from Input::Type::TypeBase | |
| static KeyHash | key_hash (const string &str) |
| Hash function. More... | |
| static bool | is_valid_identifier (const string &key) |
| static LazyTypeVector & | lazy_type_list () |
| static LazyObjectsSet & | lazy_object_set () |
| static bool | was_constructed (const TypeBase *ptr) |
Just for consistency, but is essentially same as Scalar.
Definition at line 430 of file type_base.hh.
|
overridevirtual |
Hash of the type specification. Provides unique id computed from its content (definition) so that same types have same hash.
Implements Input::Type::TypeBase.
Reimplemented in Input::Type::FileName.
Definition at line 447 of file type_base.cc.

| string Input::Type::String::from_default | ( | const string & | str | ) | const |
|
virtual |
Particular descendants can check validity of the string.
Reimplemented in Input::Type::FileName.
Definition at line 479 of file type_base.cc.

|
virtual |
Returns an identification of the type. Useful for error messages.
Reimplemented from Input::Type::TypeBase.
Reimplemented in Input::Type::FileName.
Definition at line 456 of file type_base.cc.

|
virtual |
Implements Type::TypeBase::valid_defaults.
Implements Input::Type::TypeBase.
Definition at line 463 of file type_base.cc.

1.8.5