|
| | PropertyMap () |
| |
| | PropertyMap (QDataStream &) |
| | Construct from stream. More...
|
| |
| template<typename T , typename... ARGS> |
| PropertyMap & | put (QString const &_id, T const &_t, ARGS &&..._args) |
| | Put an object of type T with id into property map. More...
|
| |
| template<typename T , typename... ARGS> |
| PropertyMap const & | get (QString const &_id, T &_t, ARGS &&..._args) const |
| | Read an object of type T with id from property map. More...
|
| |
| template<typename T , typename... ARGS> |
| PropertyMap const & | get (QString const &_id, T *_t, ARGS &&..._args) const |
| | Read an object of type T with id from property map. More...
|
| |
| template<typename T > |
| T | getValue (QString const &_id, T const &_default=T()) const |
| | Get value from id (with optional default value when id is not present) More...
|
| |
| template<typename FACTORY_FUNCTOR , typename... ARGS> |
| PropertyMap const & | getPtr (QString const &_id, FACTORY_FUNCTOR _f, ARGS &&..._args) const |
| | Read an object of type T with id from property map. More...
|
| |
| template<typename T , typename CLASS , typename MEM_FN > |
| PropertyMap const & | get (QString const &_id, CLASS &_class, MEM_FN _memFn, T const &_default=T()) const |
| | Get value from. More...
|
| |
| template<typename T , typename... ARGS> |
| PropertyMap & | operator() (QString const &_id, T const &_t) |
| | Write an object into property map. More...
|
| |
| template<typename T > |
| PropertyMap const & | operator() (QString const &_id, T &_t) const |
| | Read an object from property map. More...
|
| |
| std::vector< QString > | ids () const |
| | Return list of ids. More...
|
| |
| void | toStream (QDataStream &) const |
| | Write property map to stream. More...
|
| |
| void | fromStream (QDataStream &) |
| | Read property map from stream. More...
|
| |
| virtual | ~Interface () |
| |
| virtual bool | equal (Interface const *_that) const |
| | Optional virtual member method for testing equality of two. More...
|
| |
Property map to store properties in a QBuffer with an id.