#include <paletteGroups.h>
Inheritance diagram for PaletteGroups:
Public Types | |
typedef Groups::const_pointer | pointer |
typedef Groups::const_pointer | const_pointer |
typedef Groups::const_reference | reference |
typedef Groups::const_reference | const_reference |
typedef Groups::const_iterator | iterator |
typedef Groups::const_iterator | const_iterator |
typedef Groups::const_reverse_iterator | reverse_iterator |
typedef Groups::const_reverse_iterator | const_reverse_iterator |
typedef Groups::size_type | size_type |
typedef Groups::difference_type | difference_type |
Public Member Functions | |
PaletteGroups () | |
void | insert (PaletteGroup *group) |
size_type | count (PaletteGroup *group) const |
void | make_complete (const PaletteGroups &a) |
void | make_union (const PaletteGroups &a, const PaletteGroups &b) |
void | make_intersection (const PaletteGroups &a, const PaletteGroups &b) |
void | clear () |
bool | empty () const |
size_type | size () const |
iterator | begin () const |
iterator | end () const |
void | output (ostream &out) const |
void | write (ostream &out, int indent_level=0) const |
virtual void | write_datagram (BamWriter *writer, Datagram &datagram) |
virtual int | complete_pointers (TypedWritable **p_list, BamReader *manager) |
void | fillin (DatagramIterator &scan, BamReader *manager) |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
void | register_with_read_factory () |
TypeHandle | get_class_type () |
void | init_type () |
Static Protected Member Functions | |
TypedWritable * | make_PaletteGroups (const FactoryParams ¶ms) |
Private Types | |
typedef pset< PaletteGroup * > | Groups |
Private Member Functions | |
void | r_make_complete (Groups &result, PaletteGroup *group) |
Private Attributes | |
Groups | _groups |
int | _num_groups |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 47 of file paletteGroups.h. Referenced by TextureImage::assign_to_groups(), EggFile::build_cross_links(), and TxaLine::output(). |
|
Definition at line 42 of file paletteGroups.h. |
|
Definition at line 45 of file paletteGroups.h. |
|
Definition at line 49 of file paletteGroups.h. |
|
Definition at line 51 of file paletteGroups.h. |
|
Definition at line 37 of file paletteGroups.h. |
|
Definition at line 46 of file paletteGroups.h. Referenced by TextureImage::assign_groups(), PaletteGroup::get_complete_placements(), PaletteGroup::set_dependency_level(), and PaletteGroup::set_dependency_order(). |
|
Definition at line 41 of file paletteGroups.h. |
|
Definition at line 44 of file paletteGroups.h. |
|
Definition at line 48 of file paletteGroups.h. |
|
Definition at line 50 of file paletteGroups.h. |
|
Definition at line 38 of file paletteGroups.cxx. |
|
Definition at line 197 of file paletteGroups.cxx. References _groups. Referenced by TextureImage::assign_groups(), TextureImage::assign_to_groups(), EggFile::build_cross_links(), EggFile::choose_placements(), PaletteGroup::get_complete_placements(), TxaLine::output(), PaletteGroup::set_dependency_level(), and PaletteGroup::set_dependency_order(). |
|
Definition at line 167 of file paletteGroups.cxx. References _groups. Referenced by EggFile::build_cross_links(), PaletteGroup::clear_depends(), and EggFile::match_txa_groups(). |
|
Reimplemented from TypedWritable. Definition at line 323 of file paletteGroups.cxx. References _groups, _num_groups, TypedWritable::complete_pointers(), and DCAST_INTO_R. Referenced by TextureImage::complete_pointers(), PaletteGroup::complete_pointers(), and EggFile::complete_pointers(). |
|
Definition at line 60 of file paletteGroups.cxx. References _groups. |
|
Definition at line 177 of file paletteGroups.cxx. References _groups. Referenced by TextureImage::assign_groups(), EggFile::build_cross_links(), EggFile::choose_placements(), TextureImage::note_egg_file(), EggFile::write_description(), and TextureImage::write_source_pathnames(). |
|
Definition at line 207 of file paletteGroups.cxx. References _groups. Referenced by TextureImage::assign_groups(), TextureImage::assign_to_groups(), EggFile::build_cross_links(), PaletteGroup::get_complete_placements(), TxaLine::output(), PaletteGroup::set_dependency_level(), and PaletteGroup::set_dependency_order(). |
|
Reimplemented from TypedWritable. Definition at line 360 of file paletteGroups.cxx. References _num_groups, TypedWritable::fillin(), DatagramIterator::get_int32(), and BamReader::read_pointers(). Referenced by TextureImage::fillin(), PaletteGroup::fillin(), EggFile::fillin(), and make_PaletteGroups(). |
|
Reimplemented from TypedObject. Definition at line 94 of file paletteGroups.h. References _type_handle. Referenced by get_type(), and register_with_read_factory(). |
|
Reimplemented from TypedWritable. Definition at line 102 of file paletteGroups.h. References get_class_type(). |
|
Reimplemented from TypedWritable. Definition at line 97 of file paletteGroups.h. References _type_handle, TypedObject::get_class_type(), TypedWritable::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
Definition at line 48 of file paletteGroups.cxx. References _groups. Referenced by TextureImage::assign_groups(), EggFile::build_cross_links(), PaletteGroup::group_with(), and TxaLine::parse(). |
|
Definition at line 74 of file paletteGroups.cxx. References _groups, a, and r_make_complete(). Referenced by EggFile::build_cross_links(), PaletteGroup::get_complete_placements(), and Palettizer::report_statistics(). |
|
Definition at line 137 of file paletteGroups.cxx. Referenced by TextureImage::assign_groups(), and EggFile::choose_placements(). |
|
Definition at line 342 of file paletteGroups.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Definition at line 93 of file paletteGroups.cxx. Referenced by TextureImage::assign_groups(), and EggFile::match_txa_groups(). |
|
Definition at line 217 of file paletteGroups.cxx. References _groups. Referenced by operator<<(). |
|
Definition at line 270 of file paletteGroups.cxx. References PaletteGroup::_dependent, and _groups. Referenced by make_complete(). |
|
Definition at line 290 of file paletteGroups.cxx. References get_class_type(), BamReader::get_factory(), and make_PaletteGroups(). Referenced by ConfigureFn(). |
|
Definition at line 187 of file paletteGroups.cxx. References _groups. Referenced by Palettizer::report_statistics(). |
|
Definition at line 245 of file paletteGroups.cxx. References _groups, and indent(). Referenced by EggFile::choose_placements(). |
|
Reimplemented from TypedWritable. Definition at line 303 of file paletteGroups.cxx. References _groups, Datagram::add_uint32(), TypedWritable::write_datagram(), and writer(). Referenced by TextureImage::write_datagram(), PaletteGroup::write_datagram(), and EggFile::write_datagram(). |
|
Definition at line 73 of file paletteGroups.h. Referenced by begin(), clear(), complete_pointers(), count(), empty(), end(), insert(), make_complete(), make_intersection(), make_union(), output(), r_make_complete(), size(), write(), and write_datagram(). |
|
Definition at line 91 of file paletteGroups.h. Referenced by complete_pointers(), and fillin(). |
|
Reimplemented from TypedWritable. Definition at line 30 of file paletteGroups.cxx. Referenced by get_class_type(), and init_type(). |