rasdaman complete source
property.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_PROPERTY_
34 #define _D_PROPERTY_
35 
36 #include "metaobject.hh"
37 
38 
39 class r_Base_Type;
40 class r_Type_Id;
41 
42 //@ManMemo: Module: {\bf raslib}
43 
44 /*@Doc:
45  This class the superclass for properties of classes in the ODMG
46  conformant representation of the RasDaMan type system.
47 */
48 
49 class r_Property : public r_Meta_Object
50 {
51 public:
52 
54  r_Property( const char* newTypeName, const r_Base_Type& newType );
55 
57  r_Property( const r_Property& oldObj );
58 
60  const r_Property& operator=( const r_Property& oldObj );
61 
63  virtual ~r_Property();
64 
66  const r_Base_Type& type_of() const;
67 
68 protected:
69 
71 
73  r_Property();
74 
75 };
76 
77 #endif
Definition: metaobject.hh:53
Definition: raslib/basetype.hh:47
const r_Base_Type & type_of() const
retrieve type of property.
r_Property()
default constructor.
const r_Property & operator=(const r_Property &oldObj)
assignment operator.
virtual ~r_Property()
destructor.
Definition: property.hh:49
r_Base_Type * myType
Definition: property.hh:70