| cartobase
    5.1.2
    | 
#include <cartobase/config/cartobase_config.h>#include <cartobase/type/types.h>#include <cartobase/type/conversion.h>#include <cartobase/type/string_conversion.h>#include <cartobase/smart/rcptr.h>#include <cartobase/exception/format.h>#include <stdexcept>#include <string>#include <set>#include <vector>#include <list>#include <typeinfo>#include <cartobase/object/syntax.h>

Go to the source code of this file.
| Classes | |
| class | carto::Interface | 
| class | carto::ScalarInterface | 
| All scalar numbers implement the ScalarInterface (all ints, float, double...)  More... | |
| class | carto::StringInterface | 
| Objects whose value may be represented as a character string.  More... | |
| class | carto::SizeInterface | 
| All container objects inherit the SizeInterface.  More... | |
| class | carto::IterableInterface | 
| Container objects which can be iterated.  More... | |
| class | carto::IteratorInterface | 
| An iterator object is a reference to another object.  More... | |
| class | carto::KeyIteratorInterface | 
| Specialized IteratorInterface for key/value storage.  More... | |
| class | carto::DictionaryIteratorInterface | 
| Specialized IteratorInterface for dictionaries.  More... | |
| class | carto::IntKeyIteratorInterface | 
| Specialized IteratorInterface for dictionaries.  More... | |
| class | carto::ArrayInterface | 
| ArrayInterface represents any container whose elements can be accessed via an integer index.  More... | |
| class | carto::DynArrayInterface | 
| A dynamic array has resize and insertion capabilities (like a STL vector)  More... | |
| class | carto::DictionaryInterface | 
| Interface for dictionary-like objects.  More... | |
| class | carto::SyntaxedInterface | 
| A Syntaxed object is an object containing an additional character string giving it a kind of type (a syntactic attribute).  More... | |
| class | carto::NoneInterface | 
| Specialized NoneInterface for empty objects (null, None).  More... | |
| class | carto::GenericObject | 
| base abstract generic object class.  More... | |
| class | carto::Object | 
| class | carto::TypedObject< T > | 
| storage wrapper, derived but still abstract template class  More... | |
| struct | carto::GenericObjectTypeDeclared< T > | 
| Class to force a compilation error when a generic object.  More... | |
| class | carto::TypedObject< const T > | 
| class | carto::ValueObject< T > | 
| storage wrapper, derived and instanciable template class  More... | |
| class | carto::ReferenceObject< T > | 
| storage wrapper, derived and instanciable template class  More... | |
| class | carto::PointerObject< T > | 
| struct | carto::GenericObjectTypeDeclared< Object > | 
| struct | carto::GenericObjectTypeDeclared< GenericObject > | 
| class | carto::DataTypeCode< ValueObject< T > > | 
| class | carto::DataTypeCode< ReferenceObject< T > > | 
| Namespaces | |
| carto | |
| Macros | |
| #define | DECLARE_GENERIC_OBJECT_TYPE(T) | 
| #define | _TMP_ std::map< std::string, int > | 
| #define | _TMP_ std::map< std::string, unsigned > | 
| #define | _TMP_ std::map< std::string, char > | 
| #define | _TMP_ std::map< std::string, signed char > | 
| #define | _TMP_ std::map< std::string, unsigned char > | 
| #define | _TMP_ std::map< std::string, short > | 
| #define | _TMP_ std::map< std::string, unsigned short > | 
| #define | _TMP_ std::map< std::string, long > | 
| #define | _TMP_ std::map< std::string, unsigned long > | 
| #define | _TMP_ std::map< std::string, long long > | 
| #define | _TMP_ std::map< std::string, unsigned long long > | 
| #define | _TMP_ std::map< std::string, float > | 
| #define | _TMP_ std::map< std::string, double > | 
| #define | _TMP_ std::map< std::string, bool > | 
| #define | _TMP_ std::map< std::string, std::string > | 
| #define | _TMP_ std::map< std::string, Object > | 
| #define | TMP std::map< int, Object > | 
| #define | TMP std::map< float, Object > | 
| #define | TMP std::map< Object, Object > | 
| #define | _TMP_ std::map< std::string, std::vector<int> > | 
| #define | _TMP_ std::map< std::string, std::vector<unsigned> > | 
| #define | _TMP_ std::map< std::string, std::vector<char> > | 
| #define | _TMP_ std::map< std::string, std::vector<signed char> > | 
| #define | _TMP_ std::map< std::string, std::vector<unsigned char> > | 
| #define | _TMP_ std::map< std::string, std::vector<short> > | 
| #define | _TMP_ std::map< std::string, std::vector<unsigned short> > | 
| #define | _TMP_ std::map< std::string, std::vector<long> > | 
| #define | _TMP_ std::map< std::string, std::vector<unsigned long> > | 
| #define | _TMP_ std::map< std::string, std::vector<long long> > | 
| #define | _TMP_ std::map< std::string, std::vector<unsigned long long> > | 
| #define | _TMP_ std::map< std::string, std::vector<float> > | 
| #define | _TMP_ std::map< std::string, std::vector<double> > | 
| #define | _TMP_ std::map< std::string, std::vector<std::string> > | 
| #define | _TMP_ std::map< std::string, std::vector<Object> > | 
| #define | _TMP_ rc_ptr< std::map< std::string, int > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, unsigned > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, char > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, signed char > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, unsigned char > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, short > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, unsigned short > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, long > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, unsigned long > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, long long > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, unsigned long long > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, float > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, double > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, bool > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::string > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, Object > > | 
| #define | _TMP_ rc_ptr< std::map< int, Object > > | 
| #define | _TMP_ rc_ptr< std::map< float, Object > > | 
| #define | TMP rc_ptr< std::map< Object, Object > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<int> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<char> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<signed char> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned char> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<short> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned short> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<long> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned long> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<long long> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned long long> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<float> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<double> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<std::string> > > | 
| #define | _TMP_ rc_ptr< std::map< std::string, std::vector<Object> > > | 
| Typedefs | |
| typedef std::map< std::string, Object > | carto::Dictionary | 
| Common type used for DictionaryInterface implementation.  More... | |
| typedef std::map< int, Object > | carto::IntDictionary | 
| typedef std::map< Object, Object > | carto::ObjectDictionary | 
| typedef std::vector< Object > | carto::ObjectVector | 
| Common type used for ArrayInterface implementation.  More... | |
| Functions | |
| Object | carto::none () | 
| An empty singleton object (holds a null pointer)  More... | |
| template<typename T > | |
| void | carto::object_to (Object o, T &r) | 
| template<typename T > | |
| void | carto::object_to (Object, const T &) | 
| template<> | |
| void | carto::object_to (Object o, bool &r) | 
| template<> | |
| void | carto::object_to (Object o, unsigned char &r) | 
| template<> | |
| void | carto::object_to (Object o, signed char &r) | 
| template<> | |
| void | carto::object_to (Object o, char &r) | 
| template<> | |
| void | carto::object_to (Object o, unsigned short &r) | 
| template<> | |
| void | carto::object_to (Object o, short &r) | 
| template<> | |
| void | carto::object_to (Object o, unsigned &r) | 
| template<> | |
| void | carto::object_to (Object o, int &r) | 
| template<> | |
| void | carto::object_to (Object o, float &r) | 
| template<> | |
| void | carto::object_to (Object o, double &r) | 
| template<> | |
| void | carto::object_to (Object o, std::string &r) | 
| template<> | |
| void | carto::object_to (Object o, Object &r) | 
| #define _TMP_ std::map< std::string, std::vector<unsigned> > | 
| #define _TMP_ std::map< std::string, std::vector<signed char> > | 
| #define _TMP_ std::map< std::string, std::vector<unsigned char> > | 
| #define _TMP_ std::map< std::string, std::vector<unsigned short> > | 
| #define _TMP_ std::map< std::string, std::vector<unsigned long> > | 
| #define _TMP_ std::map< std::string, std::vector<long long> > | 
| #define _TMP_ std::map< std::string, std::vector<unsigned long long> > | 
| #define _TMP_ std::map< std::string, std::vector<double> > | 
| #define _TMP_ std::map< std::string, std::vector<std::string> > | 
| #define _TMP_ std::map< std::string, std::vector<Object> > | 
| #define _TMP_ rc_ptr< std::map< std::string, signed char > > | 
| #define _TMP_ rc_ptr< std::map< std::string, unsigned char > > | 
| #define _TMP_ rc_ptr< std::map< std::string, unsigned short > > | 
| #define _TMP_ rc_ptr< std::map< std::string, unsigned long > > | 
| #define _TMP_ rc_ptr< std::map< std::string, long long > > | 
| #define _TMP_ rc_ptr< std::map< std::string, unsigned long long > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::string > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<int> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<char> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<signed char> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned char> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<short> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned short> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<long> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned long> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<long long> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<unsigned long long> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<float> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<double> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<std::string> > > | 
| #define _TMP_ rc_ptr< std::map< std::string, std::vector<Object> > > | 
| #define DECLARE_GENERIC_OBJECT_TYPE | ( | T | ) |