rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
stringdata.hh
Go to the documentation of this file.
1/*
2* This file is part of rasdaman community.
3*
4* Rasdaman community is free software: you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation, either version 3 of the License, or
7* (at your option) any later version.
8*
9* Rasdaman community is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16*
17* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
18rasdaman GmbH.
19*
20* For more information please see <http://www.rasdaman.org>
21* or contact Peter Baumann via <baumann@rasdaman.com>.
22*/
23
24#ifndef D_STRINGDATA_HH
25#define D_STRINGDATA_HH
26
27#include <iosfwd>
28#include <string>
29
30//@ManMemo: Module: {\bf raslib}
39{
40public:
42 r_String() = default;
44 explicit r_String(const char *v);
45
46 ~r_String() = default;
47
49 void print_status(std::ostream &s) const;
50
51 const std::string get_value() const;
52
53private:
55 std::string value;
56};
57
58//@ManMemo: Module: {\bf raslib}
62extern std::ostream &operator<<(std::ostream &s, const r_String &oid);
63
64#endif
A string value wrapper.
Definition stringdata.hh:39
const std::string get_value() const
~r_String()=default
void print_status(std::ostream &s) const
debug output
r_String(const char *v)
constructs a string from the string representation
r_String()=default
default constructor
std::ostream & operator<<(std::ostream &s, const r_String &oid)
Output stream operator for objects of type const r_Oid.