Scopira
20080306
|
#include <stringvector.h>
Public Member Functions | |
stringvector_o (void) | |
Default, 0-length construtor. | |
stringvector_o (const stringvector_o &rhs) | |
copy ctor | |
stringvector_o (size_t len) | |
virtual scopira::tool::oflow_i & | print (scopira::tool::oflow_i &o) const |
Printer implementation. | |
virtual bool | load (scopira::tool::iobjflow_i &in) |
Serialization implementation. | |
virtual void | save (scopira::tool::oobjflow_i &out) const |
Serialization implementation. | |
Public Member Functions inherited from scopira::tool::object | |
virtual | ~object () |
int | add_ref (void) const |
bool | sub_ref (void) const |
void | auto_ref (void) const |
int | current_ref (void) const |
bool | is_alive_object (void) const |
bool | is_dead_object (void) const |
Public Member Functions inherited from scopira::tool::basic_array< std::string > | |
basic_array (void) | |
basic_array (size_t len) | |
basic_array (const basic_array &rhs) | |
~basic_array () | |
Destructor. | |
void | resize (size_t newlen) |
void | array_swap (basic_array< std::string > &other) |
std::string * | array (void) |
const std::string * | array (void) const |
std::string * | c_array (void) |
const std::string * | c_array (void) const |
iterator | begin (void) |
const_iterator | begin (void) const |
iterator | end (void) |
const_iterator | end (void) const |
basic_array & | operator= (const basic_array &rhs) |
void | clear (void) |
void | clear_zero (void) |
size_t | size (void) const |
bool | empty (void) const |
void | set (size_t idx, const std::string &v) |
const std::string & | get (size_t idx) const |
std::string & | get (size_t idx) |
const std::string & | operator[] (size_t idx) const |
std::string & | operator[] (size_t idx) |
Additional Inherited Members | |
Public Types inherited from scopira::tool::basic_array< std::string > | |
typedef std::string | data_type |
typedef std::string * | iterator |
typedef const std::string * | const_iterator |
Protected Member Functions inherited from scopira::tool::object | |
object (void) | |
object (bool neverusecounter) | |
Protected Attributes inherited from scopira::tool::basic_array< std::string > | |
std::string * | dm_ary |
size_t | dm_len |
A vector of strings. Serializable
|
explicit |
Creates a vector of the given size. Elements will be initilized to empty strings.