48 #ifndef _MIRA_REFLECTCOLLECTION_H_ 49 #define _MIRA_REFLECTCOLLECTION_H_ 57 namespace serialization {
68 template<
typename Reflector,
typename Collection>
71 static void reflect(Reflector& r, uint32& ioCount)
73 r.member(
"@itemcount", ioCount,
"");
84 template<
typename Reflector,
typename Container>
87 typedef typename Container::value_type
type;
89 static void reflect(Reflector& r, Container& c)
92 #if __GNUC_PREREQ(4,5) 102 for (
int id=0; it != endit; ++it, ++id)
#define MIRA_PROPERTY_WITH_ID(reflector, name, id, var,...)
Definition: ReflectorInterface.h:1009
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
A property hint gives optional instructions to the property editor, i.e.
Definition: PropertyHint.h:82
std::string toString(const T &value, int precision=-1)
Converts any data type to string (the data type must support the stream << operator).
Definition: ToString.h:256
Can be specialized for a concrete derived RecursiveMemberReflector to reflect the items of collection...
Definition: ReflectCollection.h:85
Contains the base interface of all Reflectors, Serializers, etc.
static void reflect(Reflector &r, uint32 &ioCount)
Definition: ReflectCollection.h:71
Container::value_type type
Definition: ReflectCollection.h:87
static void reflect(Reflector &r, Container &c)
Definition: ReflectCollection.h:89
This object is volatile: its memory location may become invalid to access.
Definition: ReflectControlFlags.h:90
Can be specialized for a concrete derived RecursiveMemberReflector to reflect the size of collections...
Definition: ReflectCollection.h:69