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

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/CTypePointer.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 __CTypePointer_h__
20
20
#define __CTypePointer_h__
21
21
 
 
22
/** \file
 
23
 *  Type of a pointer. */
 
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 CTypePointer CTypePointer.h Puma/CTypeInfo.h
 
34
 *  Type of a pointer. 
 
35
 *  Examples: 
 
36
 *  \code 
 
37
 * int* ip = 0;          // ip has type 'pointer to int'
 
38
 *                       // type structure:
 
39
 *                       // CTypePointer
 
40
 *                       //   CTypePrimitive int
 
41
 * const char* s = 0;    // s has type 'pointer to const char'
 
42
 *                       // type structure:
 
43
 *                       // CTypePointer
 
44
 *                       //   CTypeQualified const
 
45
 *                       //     CTypePrimitive char
 
46
 *  \endcode */
30
47
class CTypePointer : public CTypeInfo {
31
48
protected:
32
 
  CTypePointer (CTypeInfo *, CTypeInfo::TypeId);
 
49
  /** Constructor.
 
50
   *  \param base The base type. 
 
51
   *  \param id The type identifier. */
 
52
  CTypePointer (CTypeInfo *base, CTypeInfo::TypeId id);
33
53
 
34
54
public:
35
 
  CTypePointer (CTypeInfo *);
 
55
  /** Constructor. Type has id CTypeInfo::TYPE_POINTER.
 
56
   *  \param base The base type. */
 
57
  CTypePointer (CTypeInfo *base);
 
58
  /** Destructor. */
36
59
  ~CTypePointer ();
37
60
};
38
61