34 #ifndef CARTOBASE_OBJECT_SYNTOBJECT_H
35 #define CARTOBASE_OBJECT_SYNTOBJECT_H
60 virtual void setSyntax(
const std::string& syntactic );
63 std::string _syntactic;
78 virtual void setSyntax(
const std::string& syntactic );
81 std::string _syntactic;
102 template <
typename T,
bool x>
108 template <
typename T>
117 template <
typename T>
128 template <
typename T>
152 template<
typename T>
inline
154 (
const std::string & s )
159 template<
typename T>
inline
175 _syntactic( x._syntactic )
179 template<
typename T>
inline
185 template<
typename T>
inline
191 template<
typename T>
inline
193 (
const std::string& syntactic )
195 _syntactic = syntactic;
200 template<
typename T>
inline
206 _syntactic( x._syntactic )
218 _syntactic( x._syntactic )
222 template<
typename T>
inline
228 template<
typename T>
inline
234 template<
typename T>
inline
240 template<
typename T>
inline
243 _syntactic = syntactic;
ArrayInterface represents any container whose elements can be accessed via an integer index.
Interface for dictionary-like objects.
Specialized IteratorInterface for dictionaries.
A dynamic array has resize and insertion capabilities (like a STL vector)
Specialized IteratorInterface for dictionaries.
Container objects which can be iterated.
An iterator object is a reference to another object.
Specialized IteratorInterface for key/value storage.
Specialized NoneInterface for empty objects (null, None).
A dictionary generic Object.
Base class for reference counted objects (intrusive)
All scalar numbers implement the ScalarInterface (all ints, float, double...)
All container objects inherit the SizeInterface.
Objects whose value may be represented as a character string.
A Syntaxed object is an object containing an additional character string giving it a kind of type (a ...
internal::SyntaxedObjectSwitch< T, SUPERSUBCLASS(Interface, T)>::ContentType ContentType
SyntaxedObject(const std::string &s)
SyntaxedObject(const SyntaxedObject &x)
storage wrapper, derived and instanciable template class
virtual SyntaxedInterfaceType< T > & getValue()
virtual void setSyntax(const std::string &s)
virtual std::string getSyntax() const
SyntaxedInterfaceObject(const std::string &s)
virtual bool hasSyntax() const
virtual bool hasSyntax() const
virtual std::string getSyntax() const
virtual ~SyntaxedInterfaceType()
SyntaxedInterfaceType(const std::string &s="")
virtual void setSyntax(const std::string &syntactic)
virtual bool hasSyntax() const
SyntaxedNonInterfaceObject(const std::string &s)
virtual void setSyntax(const std::string &syntactic)
virtual std::string getSyntax() const
virtual ~SyntaxedNonInterfaceObject()
SyntaxedNonInterfaceObject< T > ObjectType
SyntaxedInterfaceObject< T > ObjectType
SyntaxedInterfaceType< T > ContentType
#define SUPERSUBCLASS(T, U)
#define DECLARE_GENERIC_OBJECT_TYPE(T)