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

Child Class Reference

#include <test_bam.h>

Inheritance diagram for Child:

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 setFather (Parent *)
void setMother (Parent *)
void print_relationships (void)
 Child (void)
 Child (const string &name, const sex Gender)
virtual ~Child ()
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type (void)

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

Parent_dad
Parent_mom

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

Child::Child void   )  [inline]
 

Definition at line 156 of file test_bam.h.

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

Definition at line 157 of file test_bam.h.

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

Definition at line 160 of file test_bam.h.


Member Function Documentation

int Child::complete_pointers TypedWritable **  p_list,
BamReader manager
[virtual]
 

Reimplemented from Person.

Definition at line 190 of file test_bam.cxx.

References _dad, _mom, Person::complete_pointers(), DCAST, NULL, TypedWritable::Null, and start.

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

Definition at line 182 of file test_bam.cxx.

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

Referenced by make_child().

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

Reimplemented from Person.

Definition at line 173 of file test_bam.h.

References get_class_type(), and init_type().

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

Reimplemented from Person.

Definition at line 163 of file test_bam.h.

References _type_handle.

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

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

Reimplemented from Person.

Definition at line 170 of file test_bam.h.

References get_class_type().

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

Reimplemented from Person.

Definition at line 166 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 * Child::make_child const FactoryParams params  )  [static]
 

Definition at line 168 of file test_bam.cxx.

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

Referenced by ConfigureFn().

void Child::print_relationships void   ) 
 

Reimplemented from Person.

Definition at line 212 of file test_bam.cxx.

References _dad, _mom, Person::name(), NULL, and Person::print_relationships().

void Child::setFather Parent  ) 
 

Definition at line 200 of file test_bam.cxx.

References _dad, and Person::isMale().

void Child::setMother Parent  ) 
 

Definition at line 206 of file test_bam.cxx.

References _mom, and Person::isMale().

void Child::write_datagram BamWriter ,
Datagram
[virtual]
 

Reimplemented from Person.

Definition at line 160 of file test_bam.cxx.

References _dad, _mom, Person::write_datagram(), and BamWriter::write_pointer().


Member Data Documentation

Parent* Child::_dad [private]
 

Definition at line 153 of file test_bam.h.

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

Parent * Child::_mom [private]
 

Definition at line 153 of file test_bam.h.

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

TypeHandle Child::_type_handle [static, private]
 

Reimplemented from Person.

Definition at line 28 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:11:31 2003 for Panda by doxygen1.3