~ubuntu-branches/ubuntu/jaunty/aspectc++/jaunty

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/CTypePrimitive.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-07-07 14:41:02 UTC
  • mfrom: (1.1.3 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080707144102-lzml7t07f3sl00r5
Tags: 1.0pre4~svn.20080711-1
* new upstream snapshot.
* include all upstream documentation. Clarifying emails regarding
  licensing has been included into debian/copyright.
* reformat description following recomendations of
  http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description
  (Closes: #480316)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef __CTypePrimitive_h__
20
20
#define __CTypePrimitive_h__
21
21
 
 
22
/** \file
 
23
 *  Primitive types. */
 
24
 
22
25
#ifndef __CTypeInfo_h__
23
26
#warning !!!      DO NOT INCLUDE THIS FILE      !!!  
24
27
#warning !!! INCLUDE FILE "CTypeInfo.h" INSTEAD !!!  
27
30
namespace Puma {
28
31
 
29
32
 
 
33
/** \class CTypePrimitive CTypePrimitive.h Puma/CTypeInfo.h
 
34
 *  Primitive type. Fundamental arithmetic types and 
 
35
 *  type void are called primitive types. */
30
36
class CTypePrimitive : public CTypeInfo {
31
37
  const char *_Text;
32
38
 
33
39
public:
34
 
  CTypePrimitive (const char *, TypeId);
 
40
  /** Constructor.
 
41
   *  \param name The type name.
 
42
   *  \param id The type identifier. */
 
43
  CTypePrimitive (const char *name, TypeId id);
 
44
  /** Destructor. */
35
45
  ~CTypePrimitive ();
36
46
  
 
47
  /** Get the type name. */
37
48
  const char *TypeName () const;
38
49
};
39
50
 
49
60
 
50
61
// Basic types //////////////////////////////////////////////////
51
62
 
 
63
/** bool */
52
64
extern CTypePrimitive CTYPE_BOOL;
 
65
/** char */
53
66
extern CTypePrimitive CTYPE_CHAR;
 
67
/** signed char */
54
68
extern CTypePrimitive CTYPE_SIGNED_CHAR;
 
69
/** unsigned char */
55
70
extern CTypePrimitive CTYPE_UNSIGNED_CHAR;
 
71
/** wchar_t */
56
72
extern CTypePrimitive CTYPE_WCHAR_T;
 
73
/** short */
57
74
extern CTypePrimitive CTYPE_SHORT;
 
75
/** unsigned short */
58
76
extern CTypePrimitive CTYPE_UNSIGNED_SHORT;
 
77
/** int */
59
78
extern CTypePrimitive CTYPE_INT;
 
79
/** unsigned int */
60
80
extern CTypePrimitive CTYPE_UNSIGNED_INT;
 
81
/** long */
61
82
extern CTypePrimitive CTYPE_LONG;
 
83
/** unsigned long */
62
84
extern CTypePrimitive CTYPE_UNSIGNED_LONG;
 
85
/** long long */
63
86
extern CTypePrimitive CTYPE_LONG_LONG;
 
87
/** unsigned long long */
64
88
extern CTypePrimitive CTYPE_UNSIGNED_LONG_LONG;
 
89
/** float */
65
90
extern CTypePrimitive CTYPE_FLOAT;
 
91
/** double */
66
92
extern CTypePrimitive CTYPE_DOUBLE;
 
93
/** long double */
67
94
extern CTypePrimitive CTYPE_LONG_DOUBLE;
 
95
/** void */
68
96
extern CTypePrimitive CTYPE_VOID;
 
97
/** unknown_t */
69
98
extern CTypePrimitive CTYPE_UNKNOWN_T;
 
99
/** Undefined type. */
70
100
extern CTypePrimitive CTYPE_UNDEFINED;
 
101
/** Any type. */
71
102
extern CTypePrimitive CTYPE_ELLIPSIS;
72
103
 
73
104