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

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/CNamespaceInfo.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 __CNamespaceInfo_h__
20
20
#define __CNamespaceInfo_h__
21
21
 
22
 
// namespace info 
23
 
// knows whether it is an alias or an original namespace
 
22
/** \file 
 
23
 *  Semantic information about a namespace. */
24
24
 
25
25
#include "Puma/CStructure.h"
26
26
 
27
27
namespace Puma {
28
28
 
29
29
 
30
 
/** \file 
31
 
 *  Representation of a C++ 'namespace'.
32
 
 *  \see Puma::CNamespaceInfo */
33
 
 
34
 
/** \class CNamespaceInfo CNamespaceInfo.h Puma/infos/CNamespaceInfo.h
35
 
 *  A CNamespaceInfo object represents a C++ 'namespace'. There are two
36
 
 *  kinds of namespaces, i.e. original namespaces and namespace aliases. */
 
30
/** \class CNamespaceInfo CNamespaceInfo.h Puma/CNamespaceInfo.h
 
31
 *  Semantic information about a user-defined namespace. 
 
32
 *  There are two kinds of namespaces, original namespaces and 
 
33
 *  namespace aliases. */
37
34
class CNamespaceInfo : public CStructure {
38
35
  bool _isAlias;
39
36
  bool _aroundInstantiation;
40
37
  
41
38
protected:
42
 
  /** This constructor is to be used by classes inherited from
43
 
   *  CNamespaceInfo. It makes it possible to set another object id
44
 
   *  than \c NAMESPACE_INFO for abstractions not representing a 
45
 
   *  standard namespace.
46
 
   *  \param id The object id to be used instead of \c NAMESPACE_INFO. */
 
39
  /** Constructor.
 
40
   *  \param id The object type. */
47
41
  CNamespaceInfo (ObjectId id);
48
42
 
49
43
public:
50
 
  /** Create a new namespace info. */
 
44
  /** Constructor. */
51
45
  CNamespaceInfo ();
52
 
  /** Destroy the namespace info. If the object id is 
53
 
   *  \c NAMESPACE_INFO, Puma::CObjectInfo::CleanUp() is called. */
 
46
  /** Destructor. If the object type is CObjectInfo::NAMESPACE_INFO, 
 
47
   *  then CObjectInfo::CleanUp() is called. */
54
48
 ~CNamespaceInfo ();
55
49
 
56
 
  /** Return \e true if this is a namespace alias. */
 
50
  /** Check if this is a namespace alias. */
57
51
  bool isAlias () const; 
58
52
  /** Set whether this is a namespace alias. 
59
53
   *  \param v \e true if it is a namespace alias. */
60
54
  void isAlias (bool v);
61
55
  
62
 
  /** Return \e true if this is a special internal namespace
 
56
  /** Check if this is a special internal namespace
63
57
   *  around template instantiations. */
64
58
  bool aroundInstantiation () const;
65
59
  /** Set whether this is a special internal namespace around