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

« back to all changes in this revision

Viewing changes to Puma/src/parser/cparser/CProtection.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 __CProtection_h__
20
20
#define __CProtection_h__
21
21
 
22
 
// C++ class member protection
 
22
/** \file
 
23
 *  C++ class member protection. */
23
24
 
24
25
namespace Puma {
25
26
 
26
27
 
 
28
/** \class CProtection CProtection.h Puma/CProtection.h
 
29
 *  Access protection of C++ class members for the purpose
 
30
 *  of member access control. There are three kinds of
 
31
 *  protection: private, public, and protected. The
 
32
 *  protection either is defined implicitely or explicitely
 
33
 *  using member access specifiers. */
27
34
struct CProtection {
 
35
  /** The member access types. */
28
36
  enum Type {
 
37
    /** Public member access. */
29
38
    PROT_PUBLIC, 
 
39
    /** Protected member access. */
30
40
    PROT_PROTECTED, 
 
41
    /** Private member access. */
31
42
    PROT_PRIVATE,
 
43
    /** Undefined member access. */
32
44
    PROT_NONE
33
45
  };
34
46
};