23 #ifndef VARIANT_TOPIC_TOOLS_ARRAY_VARIANT_H 24 #define VARIANT_TOPIC_TOOLS_ARRAY_VARIANT_H 68 void resize(
size_t numMembers);
81 using Variant::operator=;
118 bool hasMember(
const std::string& name)
const;
123 void writeMember(std::ostream& stream,
int index)
const;
131 virtual void resize(
size_t numMembers) = 0;
135 virtual void clear() = 0;
177 void resize(
size_t numMembers);
272 void resize(
size_t numMembers);
309 template <
typename T>
static void initialize(
typename type_traits::
310 ArrayType<T>::ValueType& array,
typename boost::enable_if<
typename 316 template <
typename T>
static void initialize(
typename type_traits::
317 ArrayType<T>::ValueType& array,
typename boost::disable_if<
typename 326 IsDynamic>::
type* = 0);
334 IsDynamic>::
type* = 0);
338 template <
typename T>
static void resize(
typename type_traits::
339 ArrayType<T>::ValueType& array,
size_t numMembers,
typename 345 template <
typename T>
static void resize(
typename type_traits::
346 ArrayType<T>::ValueType& array,
size_t numMembers,
typename 352 template <
typename T>
static void clear(
typename type_traits::
353 ArrayType<T>::ValueType& array,
typename boost::enable_if<
typename 358 template <
typename T>
static void clear(
typename type_traits::
359 ArrayType<T>::ValueType& array,
typename boost::disable_if<
typename 364 #include <variant_topic_tools/ArrayVariant.tpp>
Header file providing the CollectionVariant class interface.
Header file providing the array type traits.