jaula API Reference
version 1.4.0
|
29 #ifndef _JAULA_VALUE_ARRAY_H_
30 #define _JAULA_VALUE_ARRAY_H_
34 #include <jaula/jaula_value_complex.h>
110 virtual void repr(std::ostream &ostr)
const;
118 virtual bool empty(
void)
const;
125 virtual size_t size(
void)
const;
173 virtual void clear(
void);
virtual void clear(void)
Empties the contents of an instance.
Definition: jaula_value_array.cc:120
virtual bool empty(void) const
True if the instance is empty.
Definition: jaula_value_array.cc:80
virtual ~Value_Array()
Destructor.
Definition: jaula_value_array.cc:56
virtual void repr(std::ostream &ostr) const
Represents the instance in a stream.
Definition: jaula_value_array.cc:66
Value_Array(void)
Default Constructor.
Definition: jaula_value_array.cc:43
static Value * duplicate(Value const &orig)
Creates a duplicate of a value.
Definition: jaula_value.cc:85
std::list< Value * > dataType
Data type for value contents.
Definition: jaula_value_array.h:66
Base class for handling complex values.
Definition: jaula_value_complex.h:52
dataType data_
Container to hold the value itself.
Definition: jaula_value_array.h:180
Namespace for all library definitions.
Definition: jaula.h:438
virtual size_t size(void) const
Number of elements contained.
Definition: jaula_value_array.cc:85
virtual void set(Value const &origin)
Copies the contents of one instance into another.
Definition: jaula_value.cc:61
const dataType & getData(void) const
Retrieves the array of values contained by the instance.
Definition: jaula_value_array.cc:61
void addOrigin(std::string const &origin)
Attachs a new origin after the existing ones.
Definition: jaula_exception.cc:144
Base class for handling values.
Definition: jaula_value.h:52
void addItem(Value const &item)
Appends one item to the array.
Definition: jaula_value_array.cc:115
Class for handling array values.
Definition: jaula_value_array.h:53
class for incompatible data type exceptions
Definition: jaula_bad_data_type.h:52
void set(dataType const &data)
Establishes the contents of the instance.
Definition: jaula_value_array.cc:90
Copyright (c) 2007, 2008, 2009 Kombo Morongo.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
API Reference Generated for jaula by