| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Inheritance diagram for MFString:

Public Methods | |
| MFString (size_t length=0, const std::string *values=0) throw (std::bad_alloc) | |
| Constructor. | |
| MFString (const MFString &mfstring) throw (std::bad_alloc) | |
| Copy constructor. | |
| virtual | ~MFString () throw () |
| Destructor. | |
| MFString & | operator= (const MFString &mfstring) throw (std::bad_alloc) |
| Assignment operator. | |
| const std::string & | getElement (size_t index) const throw () |
| Get an element of the array. | |
| void | setElement (size_t index, const std::string &value) throw (std::bad_alloc) |
| Set an element of the array. | |
| size_t | getLength () const throw () |
| Get the length. | |
| void | setLength (const size_t length) throw (std::bad_alloc) |
| Set the length of the vector of std::strings. | |
| void | addElement (const std::string &value) throw (std::bad_alloc) |
| Add an element to the end of the sequence. | |
| void | insertElement (size_t index, const std::string &value) throw (std::bad_alloc) |
| Insert an element into the sequence. | |
| void | removeElement (size_t index) throw () |
| Remove an element from the sequence. | |
| virtual std::auto_ptr< FieldValue > | clone () const throw (std::bad_alloc) |
| Virtual copy constructor. | |
| virtual FieldValue & | assign (const FieldValue &value) throw (std::bad_cast, std::bad_alloc) |
| Virtual assignment. | |
| virtual Type | type () const throw () |
| Get the FieldValue::Type associated with this class. | |
Private Methods | |
| virtual void | print (std::ostream &) const |
| Print to an output stream. | |
Private Attributes | |
| std::vector< std::string > | values |
|
||||||||||||
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Destructor.
|
|
|
Add an element to the end of the sequence.
|
|
|
Virtual assignment.
Implements FieldValue. |
|
|
Virtual copy constructor.
Implements FieldValue. |
|
|
Get an element of the array.
|
|
|
Get the length.
|
|
||||||||||||
|
Insert an element into the sequence.
|
|
|
Assignment operator.
|
|
|
Print to an output stream.
Implements FieldValue. |
|
|
Remove an element from the sequence.
|
|
||||||||||||
|
Set an element of the array.
|
|
|
Set the length of the vector of std::strings. If the new length is greater than the current length, the new positions are filled with empty std::strings.
|
|
|
Get the FieldValue::Type associated with this class.
Implements FieldValue. |