dynamic::types::string_impl< Impl > Class Template Reference
[Types]

Implements a string variable. More...

Inheritance diagram for dynamic::types::string_impl< Impl >:

dynamic::internal::wrap_vector_container< Impl > dynamic::internal::wrap_array_container< Impl > dynamic::internal::wrap_cpp_container< Impl > dynamic::shared_var_impl dynamic::gc::gc_object dynamic::var_impl dynamic::internal::variant_base

List of all members.

Public Member Functions

 string_impl (const typename Impl::char_type *s)
 string_impl (const typename Impl::container &s)
template<typename Ch , typename Traits , typename Alloc >
 string_impl (const std::basic_string< Ch, Traits, Alloc > &s)
void short_output (ostream &os)
 Short output to a narrow stream.
void short_output (wostream &os)
 Short output to a wide stream.
void output (ostream &os)
 Outputs to a narrow stream.
var clone ()
 Clones the object.
void output (wostream &os)
 Outputs to a wide stream.
int as_int ()
 Converts to an integer (default=0).
double as_double ()
 Converts to a double (default=0).
var op_add (const var &s)
 Addition operator.
var op_mul (const var &v)
 Multiplication operator.
void assign_add (const var &v)
 Add with assignment.
var_cmp_result compare2 (const var &other)
 Compares two objects of the same comparison_index().

Static Public Member Functions

static int to_int (const narrow_string &str)
static int to_int (const wide_string &str)
static double to_double (const narrow_string &str)
static double to_double (const wide_string &str)


Detailed Description

template<typename Impl>
class dynamic::types::string_impl< Impl >

Implements a string variable.

Definition at line 137 of file string.cpp.


Member Function Documentation

template<typename Impl >
void dynamic::types::string_impl< Impl >::short_output ( ostream &   )  [inline, virtual]

Short output to a narrow stream.

This call would not be recursive, whereas output() is

Reimplemented from dynamic::internal::wrap_array_container< Impl >.

Definition at line 156 of file string.cpp.

References dynamic::types::string_impl< Impl >::output().

template<typename Impl >
static double dynamic::types::string_impl< Impl >::to_double ( const wide_string &  str  )  [inline, static]

Todo:
Yuck

Definition at line 207 of file string.cpp.

template<typename Impl >
static int dynamic::types::string_impl< Impl >::to_int ( const wide_string &  str  )  [inline, static]

Todo:
Yuck

Definition at line 196 of file string.cpp.


The documentation for this class was generated from the following file:

Generated on Thu Dec 18 22:14:19 2008 for C++Script by  doxygen 1.5.7.1