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

panda/src/putil/bamReader.h File Reference

#include "pandabase.h"
#include "notify.h"
#include "typedWritable.h"
#include "datagramGenerator.h"
#include "datagramIterator.h"
#include "bamReaderParam.h"
#include "factory.h"
#include "vector_int.h"
#include "pset.h"
#include "dcast.h"
#include <algorithm>
#include "bamReader.I"

Go to the source code of this file.

Compounds

class  BamReader
 This is the fundamental interface for extracting binary objects from a Bam file, as generated by a BamWriter. More...

class  BamReader::CreatedObj

Defines

#define READ_PTA(Manager, source, Read_func, array)

Typedefs

typedef BamReader::WritableFactory WritableFactory

Functions

void parse_params (const FactoryParams &params, DatagramIterator &scan, BamReader *&manager)
 Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function, and parses out the datagram that contatins the data it needs to construct itself, and parses out the pointer to the managing BamReader object.


Detailed Description

Definition in file bamReader.h.


Define Documentation

#define READ_PTA Manager,
source,
Read_func,
array   ) 
 

Value:

{                                                     \
  void *t;                                            \
  if ((t = Manager->get_pta(source)) == (void*)NULL)  \
  {                                                   \
    array = Read_func(source);                        \
    Manager->register_pta(array.get_void_ptr());      \
  }                                                   \
  else                                                \
  {                                                   \
    array.set_void_ptr(t);                            \
  }                                                   \
}

Definition at line 43 of file bamReader.h.

Referenced by Geom::unprepare().


Typedef Documentation

typedef BamReader::WritableFactory WritableFactory
 

Definition at line 246 of file bamReader.h.


Function Documentation

void parse_params const FactoryParams params,
DatagramIterator scan,
BamReader *&  manager
[inline]
 

Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function, and parses out the datagram that contatins the data it needs to construct itself, and parses out the pointer to the managing BamReader object.

Definition at line 157 of file bamReader.I.

Referenced by CompassEffect::compare_to_impl(), Character::copy_node_pointers(), ClipPlaneAttrib::do_remove(), LightAttrib::do_remove(), GeomSphere::draw_immediate(), Spotlight::fill_viz_geom(), ClassicNurbsCurve::get_nurbs_interface(), GeomTri::get_tris(), ColorScaleAttrib::invert_compose_impl(), DepthOffsetAttrib::invert_compose_impl(), TexMatrixAttrib::invert_compose_impl(), CharacterJointBundle::make_copy(), AlphaTestAttrib::make_default_impl(), CullBinAttrib::make_default_impl(), ShowBoundsEffect::make_default_impl(), LensNode::register_with_read_factory(), RenderEffects::register_with_read_factory(), Camera::remove_display_region(), ModelNode::safe_to_combine(), PlaneNode::write(), AnimBundleNode::write_datagram(), GeomLine::write_datagram(), and GeomNode::write_verbose().


Generated on Fri May 2 00:46:09 2003 for Panda by doxygen1.3