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

Parent Class Reference

#include <test_bam.h>

Inheritance diagram for Parent:

Person TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject List of all members.

Public Member Functions

void write_datagram (BamWriter *, Datagram &)
virtual int complete_pointers (TypedWritable *p_list, BamReader *manager)
void setSon (Child *)
void setDaughter (Child *)
void print_relationships (void)
 Parent (void)
 Parent (const string &name, const sex Gender)
virtual ~Parent ()
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type (void)

Static Public Member Functions

TypedWritablemake_parent (const FactoryParams &params)
TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

void fillin (Parent *, DatagramIterator &, BamReader *)

Private Attributes

Child_son
Child_daughter

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

Parent::Parent void   )  [inline]
 

Definition at line 110 of file test_bam.h.

Parent::Parent const string &  name,
const sex  Gender
[inline]
 

Definition at line 111 of file test_bam.h.

virtual Parent::~Parent  )  [inline, virtual]
 

Definition at line 114 of file test_bam.h.


Member Function Documentation

int Parent::complete_pointers TypedWritable p_list,
BamReader manager
[virtual]
 

Definition at line 130 of file test_bam.cxx.

References _daughter, _son, Person::complete_pointers(), DCAST, NULL, TypedWritable::Null, and start.

void Parent::fillin Parent *  ,
DatagramIterator ,
BamReader
[protected]
 

Definition at line 122 of file test_bam.cxx.

References Person::fillin(), and BamReader::read_pointer().

Referenced by make_parent().

virtual TypeHandle Parent::force_init_type void   )  [inline, virtual]
 

Reimplemented from Person.

Definition at line 128 of file test_bam.h.

References get_class_type(), and init_type().

TypeHandle Parent::get_class_type void   )  [inline, static]
 

Reimplemented from Person.

Definition at line 117 of file test_bam.h.

References _type_handle.

Referenced by ConfigureFn(), force_init_type(), and get_type().

virtual TypeHandle Parent::get_type void   )  const [inline, virtual]
 

Reimplemented from Person.

Definition at line 125 of file test_bam.h.

References get_class_type().

void Parent::init_type void   )  [inline, static]
 

Reimplemented from Person.

Definition at line 120 of file test_bam.h.

References _type_handle, Person::get_class_type(), Person::init_type(), and register_type().

Referenced by ConfigureFn(), and force_init_type().

TypedWritable * Parent::make_parent const FactoryParams params  )  [static]
 

Definition at line 110 of file test_bam.cxx.

References fillin(), params, and parse_params().

Referenced by ConfigureFn().

void Parent::print_relationships void   ) 
 

Reimplemented from Person.

Definition at line 151 of file test_bam.cxx.

References _daughter, _son, Person::name(), NULL, and Person::print_relationships().

void Parent::setDaughter Child  ) 
 

Definition at line 144 of file test_bam.cxx.

References _daughter, and Person::isMale().

void Parent::setSon Child  ) 
 

Definition at line 139 of file test_bam.cxx.

References _son, and Person::isMale().

void Parent::write_datagram BamWriter ,
Datagram
[virtual]
 

Reimplemented from Person.

Definition at line 102 of file test_bam.cxx.

References _daughter, _son, Person::write_datagram(), and BamWriter::write_pointer().


Member Data Documentation

Child * Parent::_daughter [private]
 

Definition at line 107 of file test_bam.h.

Referenced by complete_pointers(), print_relationships(), setDaughter(), and write_datagram().

Child* Parent::_son [private]
 

Definition at line 107 of file test_bam.h.

Referenced by complete_pointers(), print_relationships(), setSon(), and write_datagram().

TypeHandle Parent::_type_handle [static, private]
 

Reimplemented from Person.

Definition at line 27 of file test_bam.cxx.

Referenced by get_class_type(), and init_type().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:02 2003 for Panda by doxygen1.3