jaula API Reference
version 1.4.0
|
29 #ifndef _JAULA_VALUE_STRING_H_
30 #define _JAULA_VALUE_STRING_H_
32 #include <jaula/jaula_value.h>
70 std::string
const &
getData(
void)
const;
80 virtual void repr(std::ostream &ostr)
const;
87 void set(std::string
const &data);
113 static void stringRepr(std::ostream &ostr, std::string
const &str);
Value_String(std::string const &data="")
Constructor.
Definition: jaula_value_string.cc:51
void set(std::string const &data)
Establishes the contents of the instance.
Definition: jaula_value_string.cc:69
std::string data_
Container to hold the value itself.
Definition: jaula_value_string.h:120
virtual ~Value_String()
Destructor.
Definition: jaula_value_string.cc:56
Namespace for all library definitions.
Definition: jaula.h:438
virtual void repr(std::ostream &ostr) const
Represents the instance in a stream.
Definition: jaula_value_string.cc:64
virtual void set(Value const &origin)
Copies the contents of one instance into another.
Definition: jaula_value.cc:61
void addOrigin(std::string const &origin)
Attachs a new origin after the existing ones.
Definition: jaula_exception.cc:144
static void stringRepr(std::ostream &ostr, std::string const &str)
Represents a string in JSON Notation.
Definition: jaula_value_string.cc:91
Base class for handling values.
Definition: jaula_value.h:52
const std::string & getData(void) const
Retrieves the value contained by the instance.
Definition: jaula_value_string.cc:59
class for incompatible data type exceptions
Definition: jaula_bad_data_type.h:52
Class for handling numeric values.
Definition: jaula_value_string.h:51
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