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

« back to all changes in this revision

Viewing changes to Puma/src/infos/CTypeAddress.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 __CTypeAddress_h__
20
20
#define __CTypeAddress_h__
21
21
 
 
22
/** \file
 
23
 *  Type of a reference. */
 
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 CTypeAddress CTypeAddress.h Puma/CTypeInfo.h
 
34
 *  Type of a reference. 
 
35
 *  Examples: 
 
36
 *  \code 
 
37
 * int& i = i0;      // i has type 'reference to int'
 
38
 *                   // type structure:
 
39
 *                   // CTypeAddress
 
40
 *                   //   CTypePrimitive int
 
41
 * const X& x = x0;  // x has type 'reference to const X'
 
42
 *                   // type structure:
 
43
 *                   // CTypeAddress
 
44
 *                   //   CTypeQualified const
 
45
 *                   //     CTypeClass X
 
46
 *  \endcode */
30
47
class CTypeAddress : public CTypeInfo {
31
48
public:
32
 
  CTypeAddress (CTypeInfo *);
 
49
  /** Constructor. Type has id CTypeInfo::TYPE_ADDRESS.
 
50
   *  \param base The base type. */
 
51
  CTypeAddress (CTypeInfo *base);
 
52
  /** Destructor. */
33
53
  ~CTypeAddress ();
34
54
};
35
55