diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2009-11-09 15:43:19 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-09 16:00:06 -0200 |
commit | 9deca0a40aa9cd31510e0ba833fe207ac7e3dbab (patch) | |
tree | 4eb00607d95c61314223600903431343ada4f18e /doc | |
parent | 85be0d4d548bef2b249026d80dfb59274253bb17 (diff) |
Documentation for container-type tag into typesystem.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/typesystem_specifying_types.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/typesystem_specifying_types.rst b/doc/typesystem_specifying_types.rst index ec16a59a6..21392c68a 100644 --- a/doc/typesystem_specifying_types.rst +++ b/doc/typesystem_specifying_types.rst @@ -239,4 +239,19 @@ interface-type container-type ^^^^^^^^^^^^^^ - .. note:: This tag is not documented yet. + The container-type node indicates that the given class is a container and + must be handled using one of the conversion helpers provided by attribute **type**. + + .. code-block:: xml + + <typesystem> + <container-type name="..." + type ="..." /> + </typesystem> + + The **name** attribute is the fully qualified C++ class name. The **type** + attribute is used to indicate what conversion rule will be applied to the + container. It can be: *list*, *string-list*, *linked-list*, *vector*, *stack*, + *queue*, *set*, *map*, *multi-map*, *hash*, *multi-hash* or *pair*. + + |