rasdaman API
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
raslib
metaobject.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 /
18
rasdaman GmbH.
19
*
20
* For more information please see <http://www.rasdaman.org>
21
* or contact Peter Baumann via <baumann@rasdaman.com>.
22
/
33
#ifndef _D_META_OBJECT_
34
#define _D_META_OBJECT_
35
36
#include <iostream>
37
38
#ifdef __VISUALC__
39
#include <strstrea.h>
40
#else
41
#include <sstream> // for istrstream
42
#endif
43
44
#include "raslib/error.hh"
45
46
//@ManMemo: Module: {\bf raslib}
47
48
/*@Doc:
49
This class the superclass for all classes in the ODMG conformant
50
representation of the RasDaMan type system.
51
*/
52
53
class
r_Meta_Object
54
{
55
public
:
57
r_Meta_Object
();
59
r_Meta_Object
(
const
char
* newTypeName );
61
r_Meta_Object
(
const
r_Meta_Object
& oldObj );
63
const
r_Meta_Object
&
operator=
(
const
r_Meta_Object
& oldObj );
65
virtual
~r_Meta_Object
();
66
68
const
char
*
name
()
const
;
69
71
virtual
void
print_status
( std::ostream& s = std::cout )
const
= 0;
72
73
protected
:
74
char
*
typeName
;
75
};
76
77
#endif
r_Meta_Object
Definition:
metaobject.hh:53
r_Meta_Object::name
const char * name() const
retrieve name of the type.
r_Meta_Object::r_Meta_Object
r_Meta_Object()
default constructor.
r_Meta_Object::print_status
virtual void print_status(std::ostream &s=std::cout) const =0
writes state of object to specified stream
r_Meta_Object::~r_Meta_Object
virtual ~r_Meta_Object()
destructor.
r_Meta_Object::typeName
char * typeName
Definition:
metaobject.hh:74
r_Meta_Object::operator=
const r_Meta_Object & operator=(const r_Meta_Object &oldObj)
assignment operator.
Generated on Sat Mar 7 2015 23:58:08 for rasdaman API by
1.8.8