Debian Codegraph @

src/framework/System/CType.h

raw symbols SCIP
1 /***************************************************************************
2 CType.h - description
3 -------------------
4 begin : January 1st, 2009
5 copyright : (C) 2009 by Duong Khang NGUYEN
6 email : neoneurone @ gmail com
7
8 $Id: CType.h 449 2010-05-20 18:46:59Z neoneurone $
9 ***************************************************************************/
10
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * any later version. *
17 * *
18 ***************************************************************************/
19
20 #ifndef _SPF_SYSTEM_CTYPE_H_
21 #define _SPF_SYSTEM_CTYPE_H_ 1
22
23 // Framework headers
24 #include "Reflection/CMemberInfo.h" // System::Reflection::MemberInfo class
25
26 SPF_NAMESPACE_BEGIN(System)
27
28 /**
29 Represents type declarations: class types, interface types, array types,
30 value types, enumeration types, type parameters, generic type definitions,
31 and open or closed constructed generic types.
32 */
33 class Type : public Reflection::MemberInfo
34 {
35 public:
36 Type();
37 Type(const NullValue& null);
38 Type(const std::type_info& typeInfo);
39 virtual ~Type();
40
41 // Properties
42 const String& GetNamespace() const;
43 const String& GetFullName() const;
44
45 virtual String ToString() const;
46
47 // Operators
48 virtual Type& operator=(const Type& type);
49 virtual bool operator==(const Type& type) const;
50
51 private:
52 String msNamespace;
53 String msFullName;
54 }; // class System::String
55
56 SPF_NAMESPACE_END
57
58 #endif