Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MemberList Class Reference

#include <member.h>

Collaboration diagram for MemberList:

Collaboration graph
[legend]
List of all members.

Public Methods

 MemberList ()
void Make (Class *)
MemRef (int)
int Number ()
MemLookup (char *, char *)
int Lookup (char *, int, char *)
int Lookup (Environment *, Ptree *, int)
int Lookup (Environment *, char *, int)

Private Methods

void AppendThisClass (Class *)
void Append (Ptree *, Ptree *, int, Ptree *)
void AppendBaseClass (Environment *, Ptree *)
void CheckHeader (Ptree *, Mem *)

Private Attributes

Classthis_class
int num
int size
Memarray

Constructor & Destructor Documentation

MemberList::MemberList  
 

Definition at line 512 of file member.cc.

References array, nil, num, size, and this_class.


Member Function Documentation

void MemberList::Append Ptree  ,
Ptree  ,
int   ,
Ptree  
[private]
 

Definition at line 584 of file member.cc.

References MemberList::Mem::access, CheckHeader(), MemberList::Mem::declarator, MemberList::Mem::definition, Ptree::Eq(), Encoding::GetBaseName(), Ptree::GetEncodedName(), Ptree::GetEncodedType(), Class::GetEnvironment(), MemberList::Mem::is_constructor, MemberList::Mem::is_destructor, MemberList::Mem::is_inline, MemberList::Mem::is_mutable, MemberList::Mem::is_static, MemberList::Mem::is_virtual, Class::Name(), MemberList::Mem::name, num, Ref(), MemberList::Mem::signature, MemberList::Mem::supplying, this_class, MemberList::Mem::user_access, and MemberList::Mem::user_mod.

Referenced by AppendThisClass().

void MemberList::AppendBaseClass Environment  ,
Ptree  
[private]
 

Definition at line 613 of file member.cc.

References MemberList::Mem::access, array, Ptree::Car(), Ptree::Cdr(), Class::GetMemberList(), MemberList::Mem::is_virtual, Ptree::IsA(), Lookup(), Environment::LookupClassMetaobject(), MemberList::Mem::name, nil, num, PRIVATE, PROTECTED, PUBLIC, Ref(), MemberList::Mem::signature, and Ptree::What().

Referenced by Make().

void MemberList::AppendThisClass Class   [private]
 

Definition at line 554 of file member.cc.

References Append(), Ptree::Car(), Ptree::Cdr(), Ptree::IsA(), Class::Members(), nil, ntAccessDecl, ntAccessSpec, ntDeclaration, Walker::NthDeclarator(), ntUserAccessSpec, PRIVATE, and Ptree::What().

Referenced by Make().

void MemberList::CheckHeader Ptree  ,
Mem  
[private]
 

Definition at line 709 of file member.cc.

References Ptree::Car(), Ptree::Cdr(), FALSE, INLINE, MemberList::Mem::is_inline, MemberList::Mem::is_mutable, MemberList::Mem::is_static, MemberList::Mem::is_virtual, Ptree::IsA(), MUTABLE, nil, ntDeclarator, ntUserdefKeyword, STATIC, Ptree::Third(), TRUE, MemberList::Mem::user_mod, and VIRTUAL.

Referenced by Append().

int MemberList::Lookup Environment  ,
char *   ,
int   
 

Definition at line 694 of file member.cc.

References MemberList::Mem::name, nil, num, and Ref().

int MemberList::Lookup Environment  ,
Ptree  ,
int   
 

Definition at line 670 of file member.cc.

References Encoding::GetBaseName(), Ptree::GetEncodedName(), Ptree::GetLength(), Ptree::GetPosition(), Ptree::IsLeaf(), MemberList::Mem::name, nil, num, and Ref().

int MemberList::Lookup char *   ,
int   ,
char *   
 

Definition at line 658 of file member.cc.

References MemberList::Mem::name, num, Ref(), and MemberList::Mem::signature.

MemberList::Mem * MemberList::Lookup char *   ,
char *   
 

Definition at line 647 of file member.cc.

References MemberList::Mem::name, nil, num, Ref(), and MemberList::Mem::signature.

Referenced by AppendBaseClass(), Member::Find(), and Class::LookupMember().

void MemberList::Make Class  
 

Definition at line 536 of file member.cc.

References AppendBaseClass(), AppendThisClass(), Class::BaseClasses(), Ptree::Car(), Ptree::Cdr(), Class::GetEnvironment(), nil, num, and this_class.

Referenced by Class::GetMemberList().

int MemberList::Number   [inline]
 

Definition at line 131 of file member.h.

Referenced by Class::NthMember().

MemberList::Mem * MemberList::Ref int   
 

Definition at line 520 of file member.cc.

References array, and size.

Referenced by Append(), AppendBaseClass(), ChangedMemberList::Copy(), Member::Find(), Member::FunctionBody(), Member::GetUserAccessSpecifier(), Member::GetUserMemberModifier(), Member::IsInline(), Member::IsMutable(), Member::IsPrivate(), Member::IsProtected(), Member::IsPublic(), Member::IsStatic(), Member::IsVirtual(), Lookup(), Class::LookupMember(), Class::NthMember(), and Member::Supplier().


Member Data Documentation

Mem* MemberList::array [private]
 

Definition at line 147 of file member.h.

Referenced by AppendBaseClass(), MemberList(), and Ref().

int MemberList::num [private]
 

Definition at line 144 of file member.h.

Referenced by Append(), AppendBaseClass(), Lookup(), Make(), and MemberList().

int MemberList::size [private]
 

Definition at line 146 of file member.h.

Referenced by MemberList(), and Ref().

Class* MemberList::this_class [private]
 

Definition at line 143 of file member.h.

Referenced by Append(), Make(), and MemberList().


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:35:55 2003 for VFiasco Semantics Compiler by doxygen1.2.15