1302898130 2 2 11 libdcparser 4 5HfQ 8 p3direct 233 248 18 ~DCPackerInterface 4 483 37 DCPackerInterface::~DCPackerInterface 0 0 235 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::Destructor // Access: Public, Virtual // Description: //////////////////////////////////////////////////////////////////// 52 virtual DCPackerInterface::~DCPackerInterface(void); 249 8 get_name 4 483 27 DCPackerInterface::get_name 0 1 1 809 // Filename: dcPackerInterface.I // Created by: drose (18Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::get_name // Access: Published // Description: Returns the name of this field, or empty string // if the field is unnamed. //////////////////////////////////////////////////////////////////// 75 inline basic_string< char > const &DCPackerInterface::get_name(void) const; 250 15 find_seek_index 4 483 34 DCPackerInterface::find_seek_index 0 1 2 849 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::find_seek_index // Access: Published // Description: Returns the index number to be passed to a future // call to DCPacker::seek() to seek directly to the // named field without having to look up the field name // in a table later, or -1 if the named field cannot be // found. // // If the named field is nested within a switch or some // similar dynamic structure that reveals different // fields based on the contents of the data, this // mechanism cannot be used to pre-fetch the field index // number--you must seek for the field by name. //////////////////////////////////////////////////////////////////// 79 int DCPackerInterface::find_seek_index(basic_string< char > const &name) const; 251 8 as_field 4 483 27 DCPackerInterface::as_field 0 2 3 4 474 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 115 virtual DCField *DCPackerInterface::as_field(void); virtual DCField const *DCPackerInterface::as_field(void) const; 252 19 as_switch_parameter 4 483 38 DCPackerInterface::as_switch_parameter 0 2 5 6 496 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_switch_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_switch_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 157 virtual DCSwitchParameter *DCPackerInterface::as_switch_parameter(void); virtual DCSwitchParameter const *DCPackerInterface::as_switch_parameter(void) const; 253 18 as_class_parameter 4 483 37 DCPackerInterface::as_class_parameter 0 2 7 8 494 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_class_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_class_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 153 virtual DCClassParameter *DCPackerInterface::as_class_parameter(void); virtual DCClassParameter const *DCPackerInterface::as_class_parameter(void) const; 254 11 check_match 4 483 30 DCPackerInterface::check_match 0 3 9 10 11 1138 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::check_match // Access: Published // Description: Returns true if the other interface is bitwise the // same as this one--that is, a uint32 only matches a // uint32, etc. Names of components, and range limits, // are not compared. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::check_match // Access: Published // Description: Returns true if this interface is bitwise the same as // the interface described with the indicated formatted // string, e.g. "(uint8, uint8, int16)", or false // otherwise. // // If DCFile is not NULL, it specifies the DCFile that // was previously loaded, from which some predefined // structs and typedefs may be referenced in the // description string. //////////////////////////////////////////////////////////////////// 197 inline bool DCPackerInterface::check_match(DCPackerInterface const *other) const; bool DCPackerInterface::check_match(basic_string< char > const &description, DCFile *dcfile = ((void *)(0))) const; 255 14 ~DCKeywordList 4 484 29 DCKeywordList::~DCKeywordList 0 0 221 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::Destructor // Access: Public // Description: //////////////////////////////////////////////////////////////////// 36 DCKeywordList::~DCKeywordList(void); 256 11 has_keyword 4 484 26 DCKeywordList::has_keyword 0 2 12 13 636 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::has_keyword // Access: Published // Description: Returns true if this list includes the indicated // keyword, false otherwise. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::has_keyword // Access: Published // Description: Returns true if this list includes the indicated // keyword, false otherwise. //////////////////////////////////////////////////////////////////// 137 bool DCKeywordList::has_keyword(basic_string< char > const &name) const; bool DCKeywordList::has_keyword(DCKeyword const *keyword) const; 257 16 get_num_keywords 4 484 31 DCKeywordList::get_num_keywords 0 1 14 274 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_num_keywords // Access: Published // Description: Returns the number of keywords in the list. //////////////////////////////////////////////////////////////////// 48 int DCKeywordList::get_num_keywords(void) const; 258 11 get_keyword 4 484 26 DCKeywordList::get_keyword 0 1 15 262 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_keyword // Access: Published // Description: Returns the nth keyword in the list. //////////////////////////////////////////////////////////////////// 57 DCKeyword const *DCKeywordList::get_keyword(int n) const; 259 19 get_keyword_by_name 4 484 34 DCKeywordList::get_keyword_by_name 0 1 16 383 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_keyword_by_name // Access: Published // Description: Returns the keyword in the list with the indicated // name, or NULL if there is no keyword in the list with // that name. //////////////////////////////////////////////////////////////////// 92 DCKeyword const *DCKeywordList::get_keyword_by_name(basic_string< char > const &name) const; 260 16 compare_keywords 4 484 31 DCKeywordList::compare_keywords 0 1 17 397 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::compare_keywords // Access: Published // Description: Returns true if this list has the same keywords // as the other list, false if some keywords differ. // Order is not considered important. //////////////////////////////////////////////////////////////////// 71 bool DCKeywordList::compare_keywords(DCKeywordList const &other) const; 261 27 upcast_to_DCPackerInterface 12 485 36 DCField::upcast_to_DCPackerInterface 0 1 52 40 upcast from DCField to DCPackerInterface 62 DCPackerInterface *DCField::upcast_to_DCPackerInterface(void); 262 19 downcast_to_DCField 12 483 38 DCPackerInterface::downcast_to_DCField 0 1 53 42 downcast from DCPackerInterface to DCField 54 DCField *DCPackerInterface::downcast_to_DCField(void); 263 23 upcast_to_DCKeywordList 12 485 32 DCField::upcast_to_DCKeywordList 0 1 54 36 upcast from DCField to DCKeywordList 54 DCKeywordList *DCField::upcast_to_DCKeywordList(void); 264 19 downcast_to_DCField 12 484 34 DCKeywordList::downcast_to_DCField 0 1 55 38 downcast from DCKeywordList to DCField 50 DCField *DCKeywordList::downcast_to_DCField(void); 265 8 ~DCField 4 485 17 DCField::~DCField 0 0 224 //////////////////////////////////////////////////////////////////// // Function: DCField::Destructor // Access: Public, Virtual // Description: //////////////////////////////////////////////////////////////////// 32 virtual DCField::~DCField(void); 266 10 get_number 4 485 19 DCField::get_number 0 1 18 852 // Filename: dcField.I // Created by: drose (10Jan06) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::get_number // Access: Published // Description: Returns a unique index number associated with this // field. This is defined implicitly when the .dc // file(s) are read. //////////////////////////////////////////////////////////////////// 43 inline int DCField::get_number(void) const; 267 9 get_class 4 485 18 DCField::get_class 0 1 19 302 //////////////////////////////////////////////////////////////////// // Function: DCField::get_class // Access: Published // Description: Returns the DCClass pointer for the class that // contains this field. //////////////////////////////////////////////////////////////////// 47 inline DCClass *DCField::get_class(void) const; 268 8 as_field 4 485 17 DCField::as_field 0 2 20 21 454 //////////////////////////////////////////////////////////////////// // Function: DCField::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 95 virtual DCField *DCField::as_field(void); virtual DCField const *DCField::as_field(void) const; 269 15 as_atomic_field 4 485 24 DCField::as_atomic_field 0 2 22 23 794 //////////////////////////////////////////////////////////////////// // Function: DCField::as_atomic_field // Access: Published, Virtual // Description: Returns the same field pointer converted to an atomic // field pointer, if this is in fact an atomic field; // otherwise, returns NULL. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::as_atomic_field // Access: Published, Virtual // Description: Returns the same field pointer converted to an atomic // field pointer, if this is in fact an atomic field; // otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 121 virtual DCAtomicField *DCField::as_atomic_field(void); virtual DCAtomicField const *DCField::as_atomic_field(void) const; 270 18 as_molecular_field 4 485 27 DCField::as_molecular_field 0 2 24 25 808 //////////////////////////////////////////////////////////////////// // Function: DCField::as_molecular_field // Access: Published, Virtual // Description: Returns the same field pointer converted to a // molecular field pointer, if this is in fact a // molecular field; otherwise, returns NULL. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::as_molecular_field // Access: Published, Virtual // Description: Returns the same field pointer converted to a // molecular field pointer, if this is in fact a // molecular field; otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 133 virtual DCMolecularField *DCField::as_molecular_field(void); virtual DCMolecularField const *DCField::as_molecular_field(void) const; 271 12 as_parameter 4 485 21 DCField::as_parameter 0 2 26 27 462 //////////////////////////////////////////////////////////////////// // Function: DCField::as_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::as_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 111 virtual DCParameter *DCField::as_parameter(void); virtual DCParameter const *DCField::as_parameter(void) const; 272 11 format_data 4 485 20 DCField::format_data 0 2 28 29 412 //////////////////////////////////////////////////////////////////// // Function: DCField::format_data // Access: Published // Description: Given a blob that represents the packed data for this // field, returns a string formatting it for human // consumption. Returns empty string if there is an error. //////////////////////////////////////////////////////////////////// 112 basic_string< char > DCField::format_data(basic_string< char > const &packed_data, bool show_field_names = (1)); 273 12 parse_string 4 485 21 DCField::parse_string 0 1 30 515 //////////////////////////////////////////////////////////////////// // Function: DCField::parse_string // Access: Published // Description: Given a human-formatted string (for instance, as // returned by format_data(), above) that represents the // value of this field, parse the string and return the // corresponding packed data. Returns empty string if // there is an error. //////////////////////////////////////////////////////////////////// 89 basic_string< char > DCField::parse_string(basic_string< char > const &formatted_string); 274 15 validate_ranges 4 485 24 DCField::validate_ranges 0 1 31 479 //////////////////////////////////////////////////////////////////// // Function: DCField::validate_ranges // Access: Published // Description: Verifies that all of the packed values in the field // data are within the specified ranges and that there // are no extra bytes on the end of the record. Returns // true if all fields are valid, false otherwise. //////////////////////////////////////////////////////////////////// 77 bool DCField::validate_ranges(basic_string< char > const &packed_data) const; 275 17 has_default_value 4 485 26 DCField::has_default_value 0 1 32 339 //////////////////////////////////////////////////////////////////// // Function: DCField::has_default_value // Access: Published // Description: Returns true if a default value has been explicitly // established for this field, false otherwise. //////////////////////////////////////////////////////////////////// 51 inline bool DCField::has_default_value(void) const; 276 17 get_default_value 4 485 26 DCField::get_default_value 0 1 33 494 //////////////////////////////////////////////////////////////////// // Function: DCField::get_default_value // Access: Published // Description: Returns the default value for this field. If a // default value has been explicitly set // (e.g. has_default_value() returns true), returns that // value; otherwise, returns an implicit default for the // field. //////////////////////////////////////////////////////////////////// 74 inline basic_string< char > const &DCField::get_default_value(void) const; 277 14 is_bogus_field 4 485 23 DCField::is_bogus_field 0 1 34 522 //////////////////////////////////////////////////////////////////// // Function: DCField::is_bogus_field // Access: Published // Description: Returns true if the field has been flagged as a bogus // field. This is set for fields that are generated by // the parser as placeholder for missing fields, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 48 inline bool DCField::is_bogus_field(void) const; 278 11 is_required 4 485 20 DCField::is_required 0 1 35 312 //////////////////////////////////////////////////////////////////// // Function: DCField::is_required // Access: Published // Description: Returns true if the "required" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 45 inline bool DCField::is_required(void) const; 279 12 is_broadcast 4 485 21 DCField::is_broadcast 0 1 36 314 //////////////////////////////////////////////////////////////////// // Function: DCField::is_broadcast // Access: Published // Description: Returns true if the "broadcast" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 46 inline bool DCField::is_broadcast(void) const; 280 6 is_ram 4 485 15 DCField::is_ram 0 1 37 302 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ram // Access: Published // Description: Returns true if the "ram" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 40 inline bool DCField::is_ram(void) const; 281 5 is_db 4 485 14 DCField::is_db 0 1 38 300 //////////////////////////////////////////////////////////////////// // Function: DCField::is_db // Access: Published // Description: Returns true if the "db" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 39 inline bool DCField::is_db(void) const; 282 9 is_clsend 4 485 18 DCField::is_clsend 0 1 39 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_clsend // Access: Published // Description: Returns true if the "clsend" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 43 inline bool DCField::is_clsend(void) const; 283 9 is_clrecv 4 485 18 DCField::is_clrecv 0 1 40 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_clrecv // Access: Published // Description: Returns true if the "clrecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 43 inline bool DCField::is_clrecv(void) const; 284 10 is_ownsend 4 485 19 DCField::is_ownsend 0 1 41 310 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ownsend // Access: Published // Description: Returns true if the "ownsend" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 44 inline bool DCField::is_ownsend(void) const; 285 10 is_ownrecv 4 485 19 DCField::is_ownrecv 0 1 42 310 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ownrecv // Access: Published // Description: Returns true if the "ownrecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 44 inline bool DCField::is_ownrecv(void) const; 286 9 is_airecv 4 485 18 DCField::is_airecv 0 1 43 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_airecv // Access: Published // Description: Returns true if the "airecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 43 inline bool DCField::is_airecv(void) const; 287 6 output 4 485 15 DCField::output 0 1 44 292 //////////////////////////////////////////////////////////////////// // Function : DCField::output // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 48 inline void DCField::output(ostream &out) const; 288 5 write 4 485 14 DCField::write 0 1 45 286 //////////////////////////////////////////////////////////////////// // Function : DCField:: // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 65 inline void DCField::write(ostream &out, int indent_level) const; 289 9 pack_args 4 485 18 DCField::pack_args 0 1 46 470 //////////////////////////////////////////////////////////////////// // Function: DCField::pack_args // Access: Published // Description: Packs the Python arguments from the indicated tuple // into the packer. Returns true on success, false on // failure. // // It is assumed that the packer is currently positioned // on this field. //////////////////////////////////////////////////////////////////// 68 bool DCField::pack_args(DCPacker &packer, PyObject *sequence) const; 290 11 unpack_args 4 485 20 DCField::unpack_args 0 1 47 491 //////////////////////////////////////////////////////////////////// // Function: DCField::unpack_args // Access: Published // Description: Unpacks the values from the packer, beginning at // the current point in the unpack_buffer, into a Python // tuple and returns the tuple. // // It is assumed that the packer is currently positioned // on this field. //////////////////////////////////////////////////////////////////// 55 PyObject *DCField::unpack_args(DCPacker &packer) const; 291 14 receive_update 4 485 23 DCField::receive_update 0 1 48 378 //////////////////////////////////////////////////////////////////// // Function: DCField::receive_update // Access: Published // Description: Extracts the update message out of the datagram and // applies it to the indicated object by calling the // appropriate method. //////////////////////////////////////////////////////////////////// 72 void DCField::receive_update(DCPacker &packer, PyObject *distobj) const; 292 20 client_format_update 4 485 29 DCField::client_format_update 0 1 49 388 //////////////////////////////////////////////////////////////////// // Function: DCField::client_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the client. //////////////////////////////////////////////////////////////////// 81 Datagram DCField::client_format_update(unsigned int do_id, PyObject *args) const; 293 16 ai_format_update 4 485 25 DCField::ai_format_update 0 1 50 380 //////////////////////////////////////////////////////////////////// // Function: DCField::ai_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 127 Datagram DCField::ai_format_update(unsigned int do_id, unsigned __int64 to_id, unsigned __int64 from_id, PyObject *args) const; 294 25 ai_format_update_msg_type 4 485 34 DCField::ai_format_update_msg_type 0 1 51 426 //////////////////////////////////////////////////////////////////// // Function: DCField::ai_format_update_msg_type // Access: Published // Description: Generates a datagram containing the message necessary // to send an update, with the msg type, // for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 150 Datagram DCField::ai_format_update_msg_type(unsigned int do_id, unsigned __int64 to_id, unsigned __int64 from_id, int msg_type, PyObject *args) const; 295 10 DCPackData 4 486 22 DCPackData::DCPackData 0 1 56 709 // Filename: dcPackData.I // Created by: drose (15Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackData::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 36 inline DCPackData::DCPackData(void); 296 11 ~DCPackData 4 486 23 DCPackData::~DCPackData 0 0 222 //////////////////////////////////////////////////////////////////// // Function: DCPackData::Destructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 37 inline DCPackData::~DCPackData(void); 297 5 clear 4 486 17 DCPackData::clear 0 1 57 318 //////////////////////////////////////////////////////////////////// // Function: DCPackData::clear // Access: Published // Description: Empties the contents of the data (without necessarily // freeing its allocated memory). //////////////////////////////////////////////////////////////////// 36 inline void DCPackData::clear(void); 298 10 get_string 4 486 22 DCPackData::get_string 0 1 58 297 //////////////////////////////////////////////////////////////////// // Function: DCPackData::get_string // Access: Published // Description: Returns the data buffer as a string. Also see // get_data(). //////////////////////////////////////////////////////////////////// 63 inline basic_string< char > DCPackData::get_string(void) const; 299 10 get_length 4 486 22 DCPackData::get_length 0 1 59 393 //////////////////////////////////////////////////////////////////// // Function: DCPackData::get_length // Access: Published // Description: Returns the current length of the buffer. This is // the number of useful bytes stored in the buffer, not // the amount of memory it takes up. //////////////////////////////////////////////////////////////////// 55 inline unsigned int DCPackData::get_length(void) const; 300 8 DCPacker 4 487 18 DCPacker::DCPacker 0 1 60 221 //////////////////////////////////////////////////////////////////// // Function: DCPacker::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 25 DCPacker::DCPacker(void); 301 9 ~DCPacker 4 487 19 DCPacker::~DCPacker 0 0 220 //////////////////////////////////////////////////////////////////// // Function: DCPacker::Destructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 26 DCPacker::~DCPacker(void); 302 10 clear_data 4 487 20 DCPacker::clear_data 0 1 61 928 // Filename: dcPacker.I // Created by: drose (15Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::clear_data // Access: Published // Description: Empties the data in the pack buffer and unpack // buffer. This should be called between calls to // begin_pack(), unless you want to concatenate all of // the pack results together. //////////////////////////////////////////////////////////////////// 39 inline void DCPacker::clear_data(void); 303 10 begin_pack 4 487 20 DCPacker::begin_pack 0 1 62 703 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_pack // Access: Published // Description: Begins a packing session. The parameter is the DC // object that describes the packing format; it may be a // DCParameter or DCField. // // Unless you call clear_data() between sessions, // multiple packing sessions will be concatenated // together into the same buffer. If you wish to add // bytes to the buffer between packing sessions, use // append_data() or get_write_pointer(). //////////////////////////////////////////////////////////////////// 57 void DCPacker::begin_pack(DCPackerInterface const *root); 304 8 end_pack 4 487 18 DCPacker::end_pack 0 1 63 382 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_pack // Access: Published, Virtual // Description: Finishes a packing session. // // The return value is true on success, or false if // there has been some error during packing. //////////////////////////////////////////////////////////////////// 30 bool DCPacker::end_pack(void); 305 15 set_unpack_data 4 487 25 DCPacker::set_unpack_data 0 1 64 768 //////////////////////////////////////////////////////////////////// // Function: DCPacker::set_unpack_data // Access: Public // Description: Sets up the unpack_data pointer. You may call this // before calling the version of begin_unpack() that // takes only one parameter. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::set_unpack_data // Access: Public // Description: Sets up the unpack_data pointer. You may call this // before calling the version of begin_unpack() that // takes only one parameter. //////////////////////////////////////////////////////////////////// 65 void DCPacker::set_unpack_data(basic_string< char > const &data); 306 12 begin_unpack 4 487 22 DCPacker::begin_unpack 0 1 65 688 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_unpack // Access: Public // Description: Begins an unpacking session. You must have // previously called set_unpack_data() to specify a // buffer to unpack. // // If there was data left in the buffer after a previous // begin_unpack() .. end_unpack() session, the new // session will resume from the current point. This // method may be used, therefore, to unpack a sequence // of objects from the same buffer. //////////////////////////////////////////////////////////////////// 59 void DCPacker::begin_unpack(DCPackerInterface const *root); 307 10 end_unpack 4 487 20 DCPacker::end_unpack 0 1 66 440 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_unpack // Access: Published // Description: Finishes the unpacking session. // // The return value is true on success, or false if // there has been some error during unpacking (or if all // fields have not been unpacked). //////////////////////////////////////////////////////////////////// 32 bool DCPacker::end_unpack(void); 308 12 begin_repack 4 487 22 DCPacker::begin_repack 0 1 67 937 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_repack // Access: Public // Description: Begins a repacking session. You must have previously // called set_unpack_data() to specify a buffer to // unpack. // // Unlike begin_pack() or begin_unpack() you may not // concatenate the results of multiple begin_repack() // sessions in one buffer. // // Also, unlike in packing or unpacking modes, you may // not walk through the fields from beginning to end, or // even pack two consecutive fields at once. Instead, // you must call seek() for each field you wish to // modify and pack only that one field; then call seek() // again to modify another field. //////////////////////////////////////////////////////////////////// 59 void DCPacker::begin_repack(DCPackerInterface const *root); 309 10 end_repack 4 487 20 DCPacker::end_repack 0 1 68 440 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_repack // Access: Published // Description: Finishes the repacking session. // // The return value is true on success, or false if // there has been some error during repacking (or if all // fields have not been repacked). //////////////////////////////////////////////////////////////////// 32 bool DCPacker::end_repack(void); 310 4 seek 4 487 14 DCPacker::seek 0 2 69 70 1292 //////////////////////////////////////////////////////////////////// // Function: DCPacker::seek // Access: Published // Description: Sets the current unpack (or repack) position to the // named field. In unpack mode, the next call to // unpack_*() or push() will begin to read the named // field. In repack mode, the next call to pack_*() or // push() will modify the named field. // // Returns true if successful, false if the field is not // known (or if the packer is in an invalid mode). //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::seek // Access: Published // Description: Seeks to the field indentified by seek_index, which // was returned by an earlier call to // DCField::find_seek_index() to get the index of some // nested field. Also see the version of seek() that // accepts a field name. // // Returns true if successful, false if the field is not // known (or if the packer is in an invalid mode). //////////////////////////////////////////////////////////////////// 97 bool DCPacker::seek(basic_string< char > const &field_name); bool DCPacker::seek(int seek_index); 311 17 has_nested_fields 4 487 27 DCPacker::has_nested_fields 0 1 71 529 //////////////////////////////////////////////////////////////////// // Function: DCPacker::has_nested_fields // Access: Published // Description: Returns true if the current field has any nested // fields (and thus expects a push() .. pop() // interface), or false otherwise. If this returns // true, get_num_nested_fields() may be called to // determine how many nested fields are expected. //////////////////////////////////////////////////////////////////// 52 inline bool DCPacker::has_nested_fields(void) const; 312 21 get_num_nested_fields 4 487 31 DCPacker::get_num_nested_fields 0 1 72 885 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_num_nested_fields // Access: Published // Description: Returns the number of nested fields associated with // the current field, if has_nested_fields() returned // true. // // The return value may be -1 to indicate that a // variable number of nested fields are accepted by this // field type (e.g. a variable-length array). // // Note that this method is unreliable to determine how // many fields you must traverse before you can call // pop(), since particularly in the presence of a // DCSwitch, it may change during traversal. Use // more_nested_fields() instead. //////////////////////////////////////////////////////////////////// 55 inline int DCPacker::get_num_nested_fields(void) const; 313 18 more_nested_fields 4 487 28 DCPacker::more_nested_fields 0 1 73 389 //////////////////////////////////////////////////////////////////// // Function: DCPacker::more_nested_fields // Access: Published // Description: Returns true if there are more nested fields to pack // or unpack in the current push sequence, false if it // is time to call pop(). //////////////////////////////////////////////////////////////////// 53 inline bool DCPacker::more_nested_fields(void) const; 314 18 get_current_parent 4 487 28 DCPacker::get_current_parent 0 1 74 436 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_parent // Access: Published // Description: Returns the field that we left in our last call to // push(): the owner of the current level of fields. // This may be NULL at the beginning of the pack // operation. //////////////////////////////////////////////////////////////////// 73 inline DCPackerInterface const *DCPacker::get_current_parent(void) const; 315 17 get_current_field 4 487 27 DCPacker::get_current_field 0 1 75 458 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_field // Access: Published // Description: Returns the field that will be referenced by the next // call to pack_*() or unpack_*(). This will be NULL if // we have unpacked (or packed) all fields, or if it is // time to call pop(). //////////////////////////////////////////////////////////////////// 72 inline DCPackerInterface const *DCPacker::get_current_field(void) const; 316 15 get_last_switch 4 487 25 DCPacker::get_last_switch 0 1 76 746 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_last_switch // Access: Published // Description: Returns a pointer to the last DCSwitch instance that // we have passed by and selected one case of during the // pack/unpack process. Each time we encounter a new // DCSwitch and select a case, this will change state. // // This may be used to detect when a DCSwitch has been // selected. At the moment this changes state, // get_current_parent() will contain the particular // SwitchCase that was selected by the switch. //////////////////////////////////////////////////////////////////// 70 inline DCSwitchParameter const *DCPacker::get_last_switch(void) const; 317 13 get_pack_type 4 487 23 DCPacker::get_pack_type 0 1 77 771 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_pack_type // Access: Published // Description: Returns the type of value expected by the current // field. See the enumerated type definition at the top // of DCPackerInterface.h. If this returns one of // PT_double, PT_int, PT_int64, or PT_string, then you // should call the corresponding pack_double(), // pack_int() function (or unpack_double(), // unpack_int(), etc.) to transfer data. Otherwise, you // should call push() and begin packing or unpacking the // nested fields. //////////////////////////////////////////////////////////////////// 54 inline DCPackType DCPacker::get_pack_type(void) const; 318 22 get_current_field_name 4 487 32 DCPacker::get_current_field_name 0 1 78 406 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_field_name // Access: Published // Description: Returns the name of the current field, if it has a // name, or the empty string if the field does not have // a name or there is no current field. //////////////////////////////////////////////////////////////////// 73 inline basic_string< char > DCPacker::get_current_field_name(void) const; 319 4 push 4 487 14 DCPacker::push 0 1 79 587 //////////////////////////////////////////////////////////////////// // Function: DCPacker::push // Access: Published // Description: Marks the beginning of a nested series of fields. // // This must be called before filling the elements of an // array or the individual fields in a structure field. // It must also be balanced by a matching pop(). // // It is necessary to use push() / pop() only if // has_nested_fields() returns true. //////////////////////////////////////////////////////////////////// 26 void DCPacker::push(void); 320 3 pop 4 487 13 DCPacker::pop 0 1 80 495 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pop // Access: Published // Description: Marks the end of a nested series of fields. // // This must be called to match a previous push() only // after all the expected number of nested fields have // been packed. It is an error to call it too early, or // too late. //////////////////////////////////////////////////////////////////// 25 void DCPacker::pop(void); 321 11 pack_double 4 487 21 DCPacker::pack_double 0 1 81 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_double // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 48 inline void DCPacker::pack_double(double value); 322 8 pack_int 4 487 18 DCPacker::pack_int 0 1 82 295 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_int // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 42 inline void DCPacker::pack_int(int value); 323 9 pack_uint 4 487 19 DCPacker::pack_uint 0 1 83 296 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_uint // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 52 inline void DCPacker::pack_uint(unsigned int value); 324 10 pack_int64 4 487 20 DCPacker::pack_int64 0 1 84 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_int64 // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 48 inline void DCPacker::pack_int64(__int64 value); 325 11 pack_uint64 4 487 21 DCPacker::pack_uint64 0 1 85 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_uint64 // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 58 inline void DCPacker::pack_uint64(unsigned __int64 value); 326 11 pack_string 4 487 21 DCPacker::pack_string 0 1 86 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_string // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 69 inline void DCPacker::pack_string(basic_string< char > const &value); 327 18 pack_literal_value 4 487 28 DCPacker::pack_literal_value 0 1 87 402 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_literal_value // Access: Published // Description: Adds the indicated string value into the stream, // representing a single pre-packed field element, or a // whole group of field elements at once. //////////////////////////////////////////////////////////////////// 76 inline void DCPacker::pack_literal_value(basic_string< char > const &value); 328 18 pack_default_value 4 487 28 DCPacker::pack_default_value 0 1 88 406 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_default_value // Access: Published // Description: Adds the default value for the current element into // the stream. If no default has been set for the // current element, creates a sensible default. //////////////////////////////////////////////////////////////////// 40 void DCPacker::pack_default_value(void); 329 13 unpack_double 4 487 23 DCPacker::unpack_double 0 1 89 599 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_double // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_double // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 44 inline double DCPacker::unpack_double(void); 330 10 unpack_int 4 487 20 DCPacker::unpack_int 0 1 90 593 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 38 inline int DCPacker::unpack_int(void); 331 11 unpack_uint 4 487 21 DCPacker::unpack_uint 0 1 91 595 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 48 inline unsigned int DCPacker::unpack_uint(void); 332 12 unpack_int64 4 487 22 DCPacker::unpack_int64 0 1 92 597 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int64 // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int64 // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 44 inline __int64 DCPacker::unpack_int64(void); 333 13 unpack_uint64 4 487 23 DCPacker::unpack_uint64 0 1 93 599 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint64 // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint64 // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 54 inline unsigned __int64 DCPacker::unpack_uint64(void); 334 13 unpack_string 4 487 23 DCPacker::unpack_string 0 1 94 599 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_string // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_string // Access: Public // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 58 inline basic_string< char > DCPacker::unpack_string(void); 335 20 unpack_literal_value 4 487 30 DCPacker::unpack_literal_value 0 1 95 753 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_literal_value // Access: Published // Description: Returns the literal string that represents the packed // value of the current field, and advances the field // pointer. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_literal_value // Access: Public // Description: Returns the literal string that represents the packed // value of the current field, and advances the field // pointer. //////////////////////////////////////////////////////////////////// 65 inline basic_string< char > DCPacker::unpack_literal_value(void); 336 15 unpack_validate 4 487 25 DCPacker::unpack_validate 0 1 96 478 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_validate // Access: Published // Description: Internally unpacks the current numeric or string // value and validates it against the type range limits, // but does not return the value. If the current field // contains nested fields, validates all of them. //////////////////////////////////////////////////////////////////// 37 void DCPacker::unpack_validate(void); 337 11 unpack_skip 4 487 21 DCPacker::unpack_skip 0 1 97 396 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_skip // Access: Published // Description: Skips the current field without unpacking it and // advances to the next field. If the current field // contains nested fields, skips all of them. //////////////////////////////////////////////////////////////////// 33 void DCPacker::unpack_skip(void); 338 11 pack_object 4 487 21 DCPacker::pack_object 0 1 98 528 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_object // Access: Published // Description: Packs the Python object of whatever type into the // packer. Each numeric object and string object maps // to the corresponding pack_value() call; a tuple or // sequence maps to a push() followed by all of the // tuple's contents followed by a pop(). //////////////////////////////////////////////////////////////////// 45 void DCPacker::pack_object(PyObject *object); 339 13 unpack_object 4 487 23 DCPacker::unpack_object 0 1 99 509 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_object // Access: Published // Description: Unpacks a Python object of the appropriate type from // the stream for the current field. This may be an // integer or a string for a simple field object; if the // current field represents a list of fields it will be // a tuple. //////////////////////////////////////////////////////////////////// 40 PyObject *DCPacker::unpack_object(void); 340 14 parse_and_pack 4 487 24 DCPacker::parse_and_pack 0 2 100 101 837 // HAVE_PYTHON //////////////////////////////////////////////////////////////////// // Function: DCPacker::parse_and_pack // Access: Published // Description: Parses an object's value according to the DC file // syntax (e.g. as a default value string) and packs it. // Returns true on success, false on a parse error. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::parse_and_pack // Access: Published // Description: Parses an object's value according to the DC file // syntax (e.g. as a default value string) and packs it. // Returns true on success, false on a parse error. //////////////////////////////////////////////////////////////////// 120 bool DCPacker::parse_and_pack(basic_string< char > const &formatted_object); bool DCPacker::parse_and_pack(istream &in); 341 17 unpack_and_format 4 487 27 DCPacker::unpack_and_format 0 4 102 103 104 105 820 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// 155 basic_string< char > DCPacker::unpack_and_format(bool show_field_names = (1)); void DCPacker::unpack_and_format(ostream &out, bool show_field_names = (1)); 342 15 had_parse_error 4 487 25 DCPacker::had_parse_error 0 1 106 394 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_parse_error // Access: Published // Description: Returns true if there has been an parse error // since the most recent call to begin(); this can only // happen if you call parse_and_pack(). //////////////////////////////////////////////////////////////////// 50 inline bool DCPacker::had_parse_error(void) const; 343 14 had_pack_error 4 487 24 DCPacker::had_pack_error 0 1 107 802 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_pack_error // Access: Published // Description: Returns true if there has been an packing error // since the most recent call to begin(); in particular, // this may be called after end() has returned false to // determine the nature of the failure. // // A return value of true indicates there was a push/pop // mismatch, or the push/pop structure did not match the // data structure, or there were the wrong number of // elements in a nested push/pop structure, or on unpack // that the data stream was truncated. //////////////////////////////////////////////////////////////////// 49 inline bool DCPacker::had_pack_error(void) const; 344 15 had_range_error 4 487 25 DCPacker::had_range_error 0 1 108 735 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_range_error // Access: Published // Description: Returns true if there has been an range validation // error since the most recent call to begin(); in // particular, this may be called after end() has // returned false to determine the nature of the // failure. // // A return value of true indicates a value that was // packed or unpacked did not fit within the specified // legal range for a parameter, or within the limits of // the field size. //////////////////////////////////////////////////////////////////// 50 inline bool DCPacker::had_range_error(void) const; 345 9 had_error 4 487 19 DCPacker::had_error 0 1 109 492 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_error // Access: Published // Description: Returns true if there has been any error (either a // pack error or a range error) since the most recent // call to begin(). If this returns true, then the // matching call to end() will indicate an error // (false). //////////////////////////////////////////////////////////////////// 44 inline bool DCPacker::had_error(void) const; 346 22 get_num_unpacked_bytes 4 487 32 DCPacker::get_num_unpacked_bytes 0 1 110 587 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_num_unpacked_bytes // Access: Published // Description: Returns the number of bytes that have been unpacked // so far, or after unpack_end(), the total number of // bytes that were unpacked at all. This can be used to // validate that all of the bytes in the buffer were // actually unpacked (which is not otherwise considered // an error). //////////////////////////////////////////////////////////////////// 65 inline unsigned int DCPacker::get_num_unpacked_bytes(void) const; 347 10 get_length 4 487 20 DCPacker::get_length 0 1 111 391 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_length // Access: Published // Description: Returns the current length of the buffer. This is // the number of useful bytes stored in the buffer, not // the amount of memory it takes up. //////////////////////////////////////////////////////////////////// 53 inline unsigned int DCPacker::get_length(void) const; 348 10 get_string 4 487 20 DCPacker::get_string 0 1 112 611 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_string // Access: Published // Description: Returns the packed data buffer as a string. Also see // get_data(). //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_string // Access: Published // Description: Copies the packed data into the indicated string. // Also see get_data(). //////////////////////////////////////////////////////////////////// 61 inline basic_string< char > DCPacker::get_string(void) const; 349 17 get_unpack_length 4 487 27 DCPacker::get_unpack_length 0 1 113 471 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_unpack_length // Access: Published // Description: Returns the total number of bytes in the unpack data // buffer. This is the buffer used when unpacking; it // is separate from the pack data returned by // get_length(), which is filled during packing. //////////////////////////////////////////////////////////////////// 60 inline unsigned int DCPacker::get_unpack_length(void) const; 350 17 get_unpack_string 4 487 27 DCPacker::get_unpack_string 0 1 114 500 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_unpack_string // Access: Published // Description: Returns the unpack data buffer, as a string. // This is the buffer used when unpacking; it is // separate from the pack data returned by get_string(), // which is filled during packing. Also see // get_unpack_data(). //////////////////////////////////////////////////////////////////// 68 inline basic_string< char > DCPacker::get_unpack_string(void) const; 351 37 get_num_stack_elements_ever_allocated 4 487 47 DCPacker::get_num_stack_elements_ever_allocated 0 1 115 524 //////////////////////////////////////////////////////////////////// // Function: DCPacker::StackElement::get_num_stack_elements_ever_allocated // Access: Published, Static // Description: Returns the number of DCPacker::StackElement pointers // ever simultaneously allocated; these are now either // in active use or have been recycled into the deleted // DCPacker::StackElement pool to be used again. //////////////////////////////////////////////////////////////////// 72 static inline int DCPacker::get_num_stack_elements_ever_allocated(void); 352 13 raw_pack_int8 4 487 23 DCPacker::raw_pack_int8 0 1 116 481 // The following methods are used only for packing (or unpacking) // raw data into the buffer between packing sessions (e.g. between // calls to end_pack() and the next begin_pack()). //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int8 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 47 inline void DCPacker::raw_pack_int8(int value); 353 14 raw_pack_int16 4 487 24 DCPacker::raw_pack_int16 0 1 117 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int16 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 48 inline void DCPacker::raw_pack_int16(int value); 354 14 raw_pack_int32 4 487 24 DCPacker::raw_pack_int32 0 1 118 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int32 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 48 inline void DCPacker::raw_pack_int32(int value); 355 14 raw_pack_int64 4 487 24 DCPacker::raw_pack_int64 0 1 119 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 52 inline void DCPacker::raw_pack_int64(__int64 value); 356 14 raw_pack_uint8 4 487 24 DCPacker::raw_pack_uint8 0 1 120 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint8 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 57 inline void DCPacker::raw_pack_uint8(unsigned int value); 357 15 raw_pack_uint16 4 487 25 DCPacker::raw_pack_uint16 0 1 121 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint16 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 58 inline void DCPacker::raw_pack_uint16(unsigned int value); 358 15 raw_pack_uint32 4 487 25 DCPacker::raw_pack_uint32 0 1 122 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint32 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 58 inline void DCPacker::raw_pack_uint32(unsigned int value); 359 15 raw_pack_uint64 4 487 25 DCPacker::raw_pack_uint64 0 1 123 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 62 inline void DCPacker::raw_pack_uint64(unsigned __int64 value); 360 16 raw_pack_float64 4 487 26 DCPacker::raw_pack_float64 0 1 124 299 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_float64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 53 inline void DCPacker::raw_pack_float64(double value); 361 15 raw_pack_string 4 487 25 DCPacker::raw_pack_string 0 1 125 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_string // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 73 inline void DCPacker::raw_pack_string(basic_string< char > const &value); 362 15 raw_unpack_int8 4 487 25 DCPacker::raw_unpack_int8 0 1 126 603 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int8 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int8 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 43 inline int DCPacker::raw_unpack_int8(void); 363 16 raw_unpack_int16 4 487 26 DCPacker::raw_unpack_int16 0 1 127 605 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int16 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int16 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 44 inline int DCPacker::raw_unpack_int16(void); 364 16 raw_unpack_int32 4 487 26 DCPacker::raw_unpack_int32 0 1 128 605 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int32 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int32 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 44 inline int DCPacker::raw_unpack_int32(void); 365 16 raw_unpack_int64 4 487 26 DCPacker::raw_unpack_int64 0 1 129 605 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int64 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 48 inline __int64 DCPacker::raw_unpack_int64(void); 366 16 raw_unpack_uint8 4 487 26 DCPacker::raw_unpack_uint8 0 1 130 605 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint8 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint8 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 53 inline unsigned int DCPacker::raw_unpack_uint8(void); 367 17 raw_unpack_uint16 4 487 27 DCPacker::raw_unpack_uint16 0 1 131 607 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint16 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint16 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 54 inline unsigned int DCPacker::raw_unpack_uint16(void); 368 17 raw_unpack_uint32 4 487 27 DCPacker::raw_unpack_uint32 0 1 132 607 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint32 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint32 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 54 inline unsigned int DCPacker::raw_unpack_uint32(void); 369 17 raw_unpack_uint64 4 487 27 DCPacker::raw_unpack_uint64 0 1 133 607 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint64 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 58 inline unsigned __int64 DCPacker::raw_unpack_uint64(void); 370 18 raw_unpack_float64 4 487 28 DCPacker::raw_unpack_float64 0 1 134 609 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_float64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_float64 // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 49 inline double DCPacker::raw_unpack_float64(void); 371 17 raw_unpack_string 4 487 27 DCPacker::raw_unpack_string 0 1 135 607 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_string // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_string // Access: Public // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 62 inline basic_string< char > DCPacker::raw_unpack_string(void); 372 19 as_simple_parameter 4 488 32 DCParameter::as_simple_parameter 0 2 136 137 484 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_simple_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_simple_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 145 virtual DCSimpleParameter *DCParameter::as_simple_parameter(void); virtual DCSimpleParameter const *DCParameter::as_simple_parameter(void) const; 373 18 as_array_parameter 4 488 31 DCParameter::as_array_parameter 0 2 138 139 482 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_array_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_array_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 141 virtual DCArrayParameter *DCParameter::as_array_parameter(void); virtual DCArrayParameter const *DCParameter::as_array_parameter(void) const; 374 9 make_copy 4 488 22 DCParameter::make_copy 0 1 140 0 60 virtual DCParameter *DCParameter::make_copy(void) const = 0; 375 8 is_valid 4 488 21 DCParameter::is_valid 0 1 141 0 51 virtual bool DCParameter::is_valid(void) const = 0; 376 11 get_typedef 4 488 24 DCParameter::get_typedef 0 1 142 383 //////////////////////////////////////////////////////////////////// // Function: DCParameter::get_typedef // Access: Published // Description: If this type has been referenced from a typedef, // returns the DCTypedef instance, or NULL if the // type was declared on-the-fly. //////////////////////////////////////////////////////////////////// 54 DCTypedef const *DCParameter::get_typedef(void) const; 377 16 get_element_type 4 489 34 DCArrayParameter::get_element_type 0 1 143 309 //////////////////////////////////////////////////////////////////// // Function: DCArrayParameter::get_element_type // Access: Published // Description: Returns the type of the individual elements of this // array. //////////////////////////////////////////////////////////////////// 60 DCParameter *DCArrayParameter::get_element_type(void) const; 378 14 get_array_size 4 489 32 DCArrayParameter::get_array_size 0 1 144 379 //////////////////////////////////////////////////////////////////// // Function: DCArrayParameter::get_array_size // Access: Published // Description: Returns the fixed number of elements in this array, // or -1 if the array may contain a variable number of // elements. //////////////////////////////////////////////////////////////////// 49 int DCArrayParameter::get_array_size(void) const; 379 16 get_num_elements 4 490 31 DCAtomicField::get_num_elements 0 1 145 312 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_num_elements // Access: Published // Description: Returns the number of elements (parameters) of the // atomic field. //////////////////////////////////////////////////////////////////// 48 int DCAtomicField::get_num_elements(void) const; 380 11 get_element 4 490 26 DCAtomicField::get_element 0 1 146 299 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element // Access: Published // Description: Returns the parameter object describing the // nth element. //////////////////////////////////////////////////////////////////// 53 DCParameter *DCAtomicField::get_element(int n) const; 381 19 get_element_default 4 490 34 DCAtomicField::get_element_default 0 1 147 854 // These five methods are deprecated and will be removed soon. //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_default // Access: Published // Description: Returns the pre-formatted default value associated // with the nth element of the field. This is only // valid if has_element_default() returns true, in which // case this string represents the bytes that should be // assigned to the field as a default value. // // If the element is an array-type element, the returned // value will include the two-byte length preceding the // array data. // // This is deprecated; use get_element() instead. //////////////////////////////////////////////////////////////////// 69 basic_string< char > DCAtomicField::get_element_default(int n) const; 382 19 has_element_default 4 490 34 DCAtomicField::has_element_default 0 1 148 474 // These five methods are deprecated and will be removed soon. //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::has_element_default // Access: Published // Description: Returns true if the nth element of the field has a // default value specified, false otherwise. // // This is deprecated; use get_element() instead. //////////////////////////////////////////////////////////////////// 53 bool DCAtomicField::has_element_default(int n) const; 383 16 get_element_name 4 490 31 DCAtomicField::get_element_name 0 1 149 582 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_name // Access: Published // Description: Returns the name of the nth element of the field. // This name is strictly for documentary purposes; it // does not generally affect operation. If a name is // not specified, this will be the empty string. // // This method is deprecated; use // get_element()->get_name() instead. //////////////////////////////////////////////////////////////////// 66 basic_string< char > DCAtomicField::get_element_name(int n) const; 384 16 get_element_type 4 490 31 DCAtomicField::get_element_type 0 1 150 377 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_type // Access: Published // Description: Returns the numeric type of the nth element of the // field. This method is deprecated; use // get_element() instead. //////////////////////////////////////////////////////////////////// 61 DCSubatomicType DCAtomicField::get_element_type(int n) const; 385 19 get_element_divisor 4 490 34 DCAtomicField::get_element_divisor 0 1 151 653 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_divisor // Access: Published // Description: Returns the divisor associated with the nth element // of the field. This implements an implicit // fixed-point system; floating-point values are to be // multiplied by this value before encoding into a // packet, and divided by this number after decoding. // // This method is deprecated; use // get_element()->get_divisor() instead. //////////////////////////////////////////////////////////////////// 52 int DCAtomicField::get_element_divisor(int n) const; 386 14 ~DCDeclaration 4 491 29 DCDeclaration::~DCDeclaration 0 0 230 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::Destructor // Access: Public, Virtual // Description: //////////////////////////////////////////////////////////////////// 44 virtual DCDeclaration::~DCDeclaration(void); 387 8 as_class 4 491 23 DCDeclaration::as_class 0 2 152 153 466 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_class // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_class // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 107 virtual DCClass *DCDeclaration::as_class(void); virtual DCClass const *DCDeclaration::as_class(void) const; 388 9 as_switch 4 491 24 DCDeclaration::as_switch 0 2 154 155 468 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_switch // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_switch // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 111 virtual DCSwitch *DCDeclaration::as_switch(void); virtual DCSwitch const *DCDeclaration::as_switch(void) const; 389 6 output 4 491 21 DCDeclaration::output 0 1 156 307 //////////////////////////////////////////////////////////////////// // Function : DCDeclaration::output // Access : Published, Virtual // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 55 virtual void DCDeclaration::output(ostream &out) const; 390 5 write 4 491 20 DCDeclaration::write 0 1 157 292 //////////////////////////////////////////////////////////////////// // Function : DCDeclaration:: // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 64 void DCDeclaration::write(ostream &out, int indent_level) const; 391 11 get_dc_file 4 492 20 DCClass::get_dc_file 0 1 158 753 // Filename: dcClass.I // Created by: drose (15Sep04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCClass::get_dc_file // Access: Published // Description: Returns the DCFile object that contains the class. //////////////////////////////////////////////////////////////////// 48 inline DCFile *DCClass::get_dc_file(void) const; 392 8 get_name 4 492 17 DCClass::get_name 0 1 159 248 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_name // Access: Published // Description: Returns the name of this class. //////////////////////////////////////////////////////////////////// 65 inline basic_string< char > const &DCClass::get_name(void) const; 393 10 get_number 4 492 19 DCClass::get_number 0 1 160 369 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_number // Access: Published // Description: Returns a unique index number associated with this // class. This is defined implicitly when the .dc // file(s) are read. //////////////////////////////////////////////////////////////////// 43 inline int DCClass::get_number(void) const; 394 15 get_num_parents 4 492 24 DCClass::get_num_parents 0 1 161 301 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_parents // Access: Published // Description: Returns the number of base classes this class // inherits from. //////////////////////////////////////////////////////////////////// 41 int DCClass::get_num_parents(void) const; 395 10 get_parent 4 492 19 DCClass::get_parent 0 1 162 290 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_parent // Access: Published // Description: Returns the nth parent class this class inherits // from. //////////////////////////////////////////////////////////////////// 42 DCClass *DCClass::get_parent(int n) const; 396 15 has_constructor 4 492 24 DCClass::has_constructor 0 1 163 340 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_constructor // Access: Published // Description: Returns true if this class has a constructor method, // false if it just uses the default constructor. //////////////////////////////////////////////////////////////////// 42 bool DCClass::has_constructor(void) const; 397 15 get_constructor 4 492 24 DCClass::get_constructor 0 1 164 372 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_constructor // Access: Published // Description: Returns the constructor method for this class if it // is defined, or NULL if the class uses the default // constructor. //////////////////////////////////////////////////////////////////// 46 DCField *DCClass::get_constructor(void) const; 398 14 get_num_fields 4 492 23 DCClass::get_num_fields 0 1 165 322 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_fields // Access: Published // Description: Returns the number of fields defined directly in this // class, ignoring inheritance. //////////////////////////////////////////////////////////////////// 40 int DCClass::get_num_fields(void) const; 399 9 get_field 4 492 18 DCClass::get_field 0 1 166 428 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field // Access: Published // Description: Returns the nth field in the class. This is not // necessarily the field with index n; this is the nth // field defined in the class directly, ignoring // inheritance. //////////////////////////////////////////////////////////////////// 41 DCField *DCClass::get_field(int n) const; 400 17 get_field_by_name 4 492 26 DCClass::get_field_by_name 0 1 167 585 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field_by_name // Access: Published // Description: Returns a pointer to the DCField that shares the // indicated name. If the named field is not found in // the current class, the parent classes will be // searched, so the value returned may not actually be a // field within this class. Returns NULL if there is no // such field defined. //////////////////////////////////////////////////////////////////// 76 DCField *DCClass::get_field_by_name(basic_string< char > const &name) const; 401 18 get_field_by_index 4 492 27 DCClass::get_field_by_index 0 1 168 594 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field_by_index // Access: Published // Description: Returns a pointer to the DCField that has the // indicated index number. If the numbered field is not // found in the current class, the parent classes will // be searched, so the value returned may not actually // be a field within this class. Returns NULL if there // is no such field defined. //////////////////////////////////////////////////////////////////// 61 DCField *DCClass::get_field_by_index(int index_number) const; 402 24 get_num_inherited_fields 4 492 33 DCClass::get_num_inherited_fields 0 1 169 338 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_inherited_fields // Access: Published // Description: Returns the total number of field fields defined in // this class and all ancestor classes. //////////////////////////////////////////////////////////////////// 50 int DCClass::get_num_inherited_fields(void) const; 403 19 get_inherited_field 4 492 28 DCClass::get_inherited_field 0 1 170 625 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_inherited_field // Access: Published // Description: Returns the nth field field in the class and all of // its ancestors. // // This *used* to be the same thing as // get_field_by_index(), back when the fields were // numbered sequentially within a class's inheritance // hierarchy. Now that fields have a globally unique // index number, this is no longer true. //////////////////////////////////////////////////////////////////// 51 DCField *DCClass::get_inherited_field(int n) const; 404 9 is_struct 4 492 18 DCClass::is_struct 0 1 171 379 //////////////////////////////////////////////////////////////////// // Function: DCClass::is_struct // Access: Published // Description: Returns true if the class has been identified with // the "struct" keyword in the dc file, false if it was // declared with "dclass". //////////////////////////////////////////////////////////////////// 43 inline bool DCClass::is_struct(void) const; 405 14 is_bogus_class 4 492 23 DCClass::is_bogus_class 0 1 172 524 //////////////////////////////////////////////////////////////////// // Function: DCClass::is_bogus_class // Access: Published // Description: Returns true if the class has been flagged as a bogus // class. This is set for classes that are generated by // the parser as placeholder for missing classes, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 48 inline bool DCClass::is_bogus_class(void) const; 406 25 inherits_from_bogus_class 4 492 34 DCClass::inherits_from_bogus_class 0 1 173 446 //////////////////////////////////////////////////////////////////// // Function : DCClass::inherits_from_bogus_class // Access : Published // Description : Returns true if this class, or any class in the // inheritance heirarchy for this class, is a "bogus" // class--a forward reference to an as-yet-undefined // class. //////////////////////////////////////////////////////////////////// 52 bool DCClass::inherits_from_bogus_class(void) const; 407 14 start_generate 4 492 23 DCClass::start_generate 0 1 174 543 //////////////////////////////////////////////////////////////////// // Function: DCClass::start_generate // Access: Published // Description: Starts the PStats timer going on the "generate" task, // that is, marks the beginning of the process of // generating a new object, for the purposes of timing // this process. // // This should balance with a corresponding call to // stop_generate(). //////////////////////////////////////////////////////////////////// 42 inline void DCClass::start_generate(void); 408 13 stop_generate 4 492 22 DCClass::stop_generate 0 1 175 365 //////////////////////////////////////////////////////////////////// // Function: DCClass::stop_generate // Access: Published // Description: Stops the PStats timer on the "generate" task. // This should balance with a preceding call to // start_generate(). //////////////////////////////////////////////////////////////////// 41 inline void DCClass::stop_generate(void); 409 6 output 4 492 15 DCClass::output 0 1 176 616 //////////////////////////////////////////////////////////////////// // Function : DCClass::output // Access : Published, Virtual // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// // HAVE_PYTHON //////////////////////////////////////////////////////////////////// // Function : DCClass::output // Access : Public, Virtual // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 49 virtual void DCClass::output(ostream &out) const; 410 13 has_class_def 4 492 22 DCClass::has_class_def 0 1 177 333 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_class_def // Access: Published // Description: Returns true if the DCClass object has an associated // Python class definition, false otherwise. //////////////////////////////////////////////////////////////////// 40 bool DCClass::has_class_def(void) const; 411 13 set_class_def 4 492 22 DCClass::set_class_def 0 1 178 383 //////////////////////////////////////////////////////////////////// // Function: DCClass::set_class_def // Access: Published // Description: Sets the class object associated with this // DistributedClass. This object will be used to // construct new instances of the class. //////////////////////////////////////////////////////////////////// 49 void DCClass::set_class_def(PyObject *class_def); 412 13 get_class_def 4 492 22 DCClass::get_class_def 0 1 179 388 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_class_def // Access: Published // Description: Returns the class object that was previously // associated with this DistributedClass. This will // return a new reference to the object. //////////////////////////////////////////////////////////////////// 45 PyObject *DCClass::get_class_def(void) const; 413 19 has_owner_class_def 4 492 28 DCClass::has_owner_class_def 0 1 180 345 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_owner_class_def // Access: Published // Description: Returns true if the DCClass object has an associated // Python owner class definition, false otherwise. //////////////////////////////////////////////////////////////////// 46 bool DCClass::has_owner_class_def(void) const; 414 19 set_owner_class_def 4 492 28 DCClass::set_owner_class_def 0 1 181 401 //////////////////////////////////////////////////////////////////// // Function: DCClass::set_owner_class_def // Access: Published // Description: Sets the owner class object associated with this // DistributedClass. This object will be used to // construct new owner instances of the class. //////////////////////////////////////////////////////////////////// 61 void DCClass::set_owner_class_def(PyObject *owner_class_def); 415 19 get_owner_class_def 4 492 28 DCClass::get_owner_class_def 0 1 182 400 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_owner_class_def // Access: Published // Description: Returns the owner class object that was previously // associated with this DistributedClass. This will // return a new reference to the object. //////////////////////////////////////////////////////////////////// 51 PyObject *DCClass::get_owner_class_def(void) const; 416 14 receive_update 4 492 23 DCClass::receive_update 0 1 183 376 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update // Access: Published // Description: Extracts the update message out of the packer and // applies it to the indicated object by calling the // appropriate method. //////////////////////////////////////////////////////////////////// 76 void DCClass::receive_update(PyObject *distobj, DatagramIterator &di) const; 417 33 receive_update_broadcast_required 4 492 42 DCClass::receive_update_broadcast_required 0 1 184 500 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_broadcast_required // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent along with a normal // "generate with required" message. This is all of the // atomic fields that are marked "broadcast required". //////////////////////////////////////////////////////////////////// 95 void DCClass::receive_update_broadcast_required(PyObject *distobj, DatagramIterator &di) const; 418 39 receive_update_broadcast_required_owner 4 492 48 DCClass::receive_update_broadcast_required_owner 0 1 185 563 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_broadcast_required_owner // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent along with a normal // "generate with required" message. This is all of the // atomic fields that are marked "broadcast ownrecv". Should // be used for 'owner-view' objects. //////////////////////////////////////////////////////////////////// 101 void DCClass::receive_update_broadcast_required_owner(PyObject *distobj, DatagramIterator &di) const; 419 27 receive_update_all_required 4 492 36 DCClass::receive_update_all_required 0 1 186 492 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_all_required // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent when an avatar is // created. This is all of the atomic fields that are // marked "required", whether they are broadcast or not. //////////////////////////////////////////////////////////////////// 89 void DCClass::receive_update_all_required(PyObject *distobj, DatagramIterator &di) const; 420 20 receive_update_other 4 492 29 DCClass::receive_update_other 0 1 187 333 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_other // Access: Published // Description: Processes a datagram that lists some additional // fields that are broadcast in one chunk. //////////////////////////////////////////////////////////////////// 82 void DCClass::receive_update_other(PyObject *distobj, DatagramIterator &di) const; 421 13 direct_update 4 492 22 DCClass::direct_update 0 2 188 189 604 //////////////////////////////////////////////////////////////////// // Function: DCClass::direct_update // Access: Published // Description: Processes an update for a named field from a packed // value blob. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCClass::direct_update // Access: Published // Description: Processes an update for a named field from a packed // datagram. //////////////////////////////////////////////////////////////////// 241 void DCClass::direct_update(PyObject *distobj, basic_string< char > const &field_name, basic_string< char > const &value_blob); void DCClass::direct_update(PyObject *distobj, basic_string< char > const &field_name, Datagram const &datagram); 422 19 pack_required_field 4 492 28 DCClass::pack_required_field 0 2 190 191 1330 //////////////////////////////////////////////////////////////////// // Function: DCClass::pack_required_field // Access: Published // Description: Looks up the current value of the indicated field by // calling the appropriate get*() function, then packs // that value into the datagram. This field is // presumably either a required field or a specified // optional field, and we are building up a datagram for // the generate-with-required message. // // Returns true on success, false on failure. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCClass::pack_required_field // Access: Published // Description: Looks up the current value of the indicated field by // calling the appropriate get*() function, then packs // that value into the packer. This field is // presumably either a required field or a specified // optional field, and we are building up a datagram for // the generate-with-required message. // // Returns true on success, false on failure. //////////////////////////////////////////////////////////////////// 201 bool DCClass::pack_required_field(Datagram &datagram, PyObject *distobj, DCField const *field) const; bool DCClass::pack_required_field(DCPacker &packer, PyObject *distobj, DCField const *field) const; 423 20 client_format_update 4 492 29 DCClass::client_format_update 0 1 192 388 //////////////////////////////////////////////////////////////////// // Function: DCClass::client_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the client. //////////////////////////////////////////////////////////////////// 121 Datagram DCClass::client_format_update(basic_string< char > const &field_name, unsigned int do_id, PyObject *args) const; 424 16 ai_format_update 4 492 25 DCClass::ai_format_update 0 1 193 380 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 167 Datagram DCClass::ai_format_update(basic_string< char > const &field_name, unsigned int do_id, unsigned __int64 to_id, unsigned __int64 from_id, PyObject *args) const; 425 25 ai_format_update_msg_type 4 492 34 DCClass::ai_format_update_msg_type 0 1 194 436 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_update_msg_type // Access: Published // Description: Generates a datagram containing the message necessary // to send an update, using the indicated msg type // for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 190 Datagram DCClass::ai_format_update_msg_type(basic_string< char > const &field_name, unsigned int do_id, unsigned __int64 to_id, unsigned __int64 from_id, int msg_type, PyObject *args) const; 426 18 ai_format_generate 4 492 27 DCClass::ai_format_generate 0 1 195 593 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_generate // Access: Published // Description: Generates a datagram containing the message necessary // to generate a new distributed object from the AI. // This requires querying the object for the initial // value of its required fields. // // optional_fields is a list of fieldNames to generate // in addition to the normal required fields. //////////////////////////////////////////////////////////////////// 227 Datagram DCClass::ai_format_generate(PyObject *distobj, unsigned int do_id, unsigned int parent_id, unsigned int zone_id, unsigned __int64 district_channel_id, unsigned __int64 from_channel_id, PyObject *optional_fields) const; 427 26 client_format_generate_CMU 4 492 35 DCClass::client_format_generate_CMU 0 1 196 679 //////////////////////////////////////////////////////////////////// // Function: DCClass::client_format_generate_CMU // Access: Published // Description: Generates a datagram containing the message necessary // to generate a new distributed object from the client. // This requires querying the object for the initial // value of its required fields. // // optional_fields is a list of fieldNames to generate // in addition to the normal required fields. // // This method is only called by the CMU implementation. //////////////////////////////////////////////////////////////////// 139 Datagram DCClass::client_format_generate_CMU(PyObject *distobj, unsigned int do_id, unsigned int zone_id, PyObject *optional_fields) const; 428 28 ai_database_generate_context 4 492 37 DCClass::ai_database_generate_context 0 1 197 483 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_database_generate_context // Access: Published // Description: Generates a datagram containing the message necessary // to create a new database distributed object from the AI. // // First Pass is to only incldue required values // (with Defaults). //////////////////////////////////////////////////////////////////// 227 Datagram DCClass::ai_database_generate_context(unsigned int context_id, unsigned int parent_id, unsigned int zone_id, unsigned __int64 owner_channel, unsigned __int64 database_server_id, unsigned __int64 from_channel_id) const; 429 32 ai_database_generate_context_old 4 492 41 DCClass::ai_database_generate_context_old 0 1 198 559 // TODO: remove this once Skyler has things working with the new server //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_database_generate_context_old // Access: Published // Description: Generates a datagram containing the message necessary // to create a new database distributed object from the AI. // // First Pass is to only incldue required values // (with Defaults). //////////////////////////////////////////////////////////////////// 199 Datagram DCClass::ai_database_generate_context_old(unsigned int context_id, unsigned int parent_id, unsigned int zone_id, unsigned __int64 database_server_id, unsigned __int64 from_channel_id) const; 430 9 get_class 4 493 27 DCClassParameter::get_class 0 1 199 278 //////////////////////////////////////////////////////////////////// // Function: DCClassParameter::get_class // Access: Published // Description: Returns the class object this parameter represents. //////////////////////////////////////////////////////////////////// 55 DCClass const *DCClassParameter::get_class(void) const; 431 17 ~DCClassParameter 4 493 35 DCClassParameter::~DCClassParameter 0 0 0 42 DCClassParameter::~DCClassParameter(void); 432 6 DCFile 4 494 14 DCFile::DCFile 0 1 200 218 //////////////////////////////////////////////////////////////////// // Function: DCFile::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 21 DCFile::DCFile(void); 433 7 ~DCFile 4 494 15 DCFile::~DCFile 0 0 217 //////////////////////////////////////////////////////////////////// // Function: DCFile::Destructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 22 DCFile::~DCFile(void); 434 5 clear 4 494 13 DCFile::clear 0 1 201 322 //////////////////////////////////////////////////////////////////// // Function: DCFile::clear // Access: Published // Description: Removes all of the classes defined within the DCFile // and prepares it for reading a new file. //////////////////////////////////////////////////////////////////// 25 void DCFile::clear(void); 435 8 read_all 4 494 16 DCFile::read_all 0 1 202 382 //////////////////////////////////////////////////////////////////// // Function: DCFile::read_all // Access: Published // Description: This special method reads all of the .dc files named // by the "dc-file" config.prc variable, and loads them // into the DCFile namespace. //////////////////////////////////////////////////////////////////// 28 bool DCFile::read_all(void); 436 4 read 4 494 12 DCFile::read 0 3 203 204 205 1410 // WITHIN_PANDA //////////////////////////////////////////////////////////////////// // Function: DCFile::read // Access: Published // Description: Opens and reads the indicated .dc file by name. The // distributed classes defined in the file will be // appended to the set of distributed classes already // recorded, if any. // // Returns true if the file is successfully read, false // if there was an error (in which case the file might // have been partially read). //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCFile::read // Access: Published // Description: Parses the already-opened input stream for // distributed class descriptions. The filename // parameter is optional and is only used when reporting // errors. // // The distributed classes defined in the file will be // appended to the set of distributed classes already // recorded, if any. // // Returns true if the file is successfully read, false // if there was an error (in which case the file might // have been partially read). //////////////////////////////////////////////////////////////////// 122 bool DCFile::read(Filename filename); bool DCFile::read(istream &in, basic_string< char > const &filename = ((string()))); 437 5 write 4 494 13 DCFile::write 0 2 206 207 907 //////////////////////////////////////////////////////////////////// // Function: DCFile::write // Access: Published // Description: Opens the indicated filename for output and writes a // parseable description of all the known distributed // classes to the file. // // Returns true if the description is successfully // written, false otherwise. //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCFile::write // Access: Published // Description: Writes a parseable description of all the known // distributed classes to the stream. // // Returns true if the description is successfully // written, false otherwise. //////////////////////////////////////////////////////////////////// 108 bool DCFile::write(Filename filename, bool brief) const; bool DCFile::write(ostream &out, bool brief) const; 438 15 get_num_classes 4 494 23 DCFile::get_num_classes 0 1 208 296 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_classes // Access: Published // Description: Returns the number of classes read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 40 int DCFile::get_num_classes(void) const; 439 9 get_class 4 494 17 DCFile::get_class 0 1 209 265 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_class // Access: Published // Description: Returns the nth class read from the .dc file(s). //////////////////////////////////////////////////////////////////// 40 DCClass *DCFile::get_class(int n) const; 440 17 get_class_by_name 4 494 25 DCFile::get_class_by_name 0 1 210 323 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_class_by_name // Access: Published // Description: Returns the class that has the indicated name, or // NULL if there is no such class. //////////////////////////////////////////////////////////////////// 75 DCClass *DCFile::get_class_by_name(basic_string< char > const &name) const; 441 18 get_switch_by_name 4 494 26 DCFile::get_switch_by_name 0 1 211 326 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_switch_by_name // Access: Published // Description: Returns the switch that has the indicated name, or // NULL if there is no such switch. //////////////////////////////////////////////////////////////////// 77 DCSwitch *DCFile::get_switch_by_name(basic_string< char > const &name) const; 442 18 get_field_by_index 4 494 26 DCFile::get_field_by_index 0 1 212 667 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_field_by_index // Access: Published, Static // Description: Returns a pointer to the one DCField that has the // indicated index number, of all the DCFields across // all classes in the file. // // This method is only valid if dc-multiple-inheritance // is set true in the Config.prc file. Without this // setting, different DCFields may share the same index // number, so this global lookup is not possible. //////////////////////////////////////////////////////////////////// 60 DCField *DCFile::get_field_by_index(int index_number) const; 443 17 all_objects_valid 4 494 25 DCFile::all_objects_valid 0 1 213 949 // Filename: dcFile.I // Created by: drose (10Jan06) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCFile::all_objects_valid // Access: Published // Description: Returns true if all of the classes read from the DC // file were defined and valid, or false if any of them // were undefined ("bogus classes"). If this is true, // we might have read a partial file. //////////////////////////////////////////////////////////////////// 50 inline bool DCFile::all_objects_valid(void) const; 444 22 get_num_import_modules 4 494 30 DCFile::get_num_import_modules 0 1 214 308 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_import_modules // Access: Published // Description: Returns the number of import lines read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 47 int DCFile::get_num_import_modules(void) const; 445 17 get_import_module 4 494 25 DCFile::get_import_module 0 1 215 316 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_import_module // Access: Published // Description: Returns the module named by the nth import line read // from the .dc file(s). //////////////////////////////////////////////////////////////////// 60 basic_string< char > DCFile::get_import_module(int n) const; 446 22 get_num_import_symbols 4 494 30 DCFile::get_num_import_symbols 0 1 216 482 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_import_symbols // Access: Published // Description: Returns the number of symbols explicitly imported by // the nth import line. If this is 0, the line is // "import modulename"; if it is more than 0, the line // is "from modulename import symbol, symbol ... ". //////////////////////////////////////////////////////////////////// 48 int DCFile::get_num_import_symbols(int n) const; 447 17 get_import_symbol 4 494 25 DCFile::get_import_symbol 0 1 217 320 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_import_symbol // Access: Published // Description: Returns the ith symbol named by the nth import line // read from the .dc file(s). //////////////////////////////////////////////////////////////////// 67 basic_string< char > DCFile::get_import_symbol(int n, int i) const; 448 16 get_num_typedefs 4 494 24 DCFile::get_num_typedefs 0 1 218 298 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_typedefs // Access: Published // Description: Returns the number of typedefs read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 41 int DCFile::get_num_typedefs(void) const; 449 11 get_typedef 4 494 19 DCFile::get_typedef 0 1 219 269 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_typedef // Access: Published // Description: Returns the nth typedef read from the .dc file(s). //////////////////////////////////////////////////////////////////// 44 DCTypedef *DCFile::get_typedef(int n) const; 450 19 get_typedef_by_name 4 494 27 DCFile::get_typedef_by_name 0 1 220 334 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_typedef_by_name // Access: Published // Description: Returns the typedef that has the indicated name, or // NULL if there is no such typedef name. //////////////////////////////////////////////////////////////////// 79 DCTypedef *DCFile::get_typedef_by_name(basic_string< char > const &name) const; 451 16 get_num_keywords 4 494 24 DCFile::get_num_keywords 0 1 221 298 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_keywords // Access: Published // Description: Returns the number of keywords read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 41 int DCFile::get_num_keywords(void) const; 452 11 get_keyword 4 494 19 DCFile::get_keyword 0 1 222 269 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_keyword // Access: Published // Description: Returns the nth keyword read from the .dc file(s). //////////////////////////////////////////////////////////////////// 50 DCKeyword const *DCFile::get_keyword(int n) const; 453 19 get_keyword_by_name 4 494 27 DCFile::get_keyword_by_name 0 1 223 334 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_keyword_by_name // Access: Published // Description: Returns the keyword that has the indicated name, or // NULL if there is no such keyword name. //////////////////////////////////////////////////////////////////// 85 DCKeyword const *DCFile::get_keyword_by_name(basic_string< char > const &name) const; 454 8 get_hash 4 494 16 DCFile::get_hash 0 1 224 505 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_hash // Access: Published // Description: Returns a 32-bit hash index associated with this // file. This number is guaranteed to be consistent if // the contents of the file have not changed, and it is // very likely to be different if the contents of the // file do change. //////////////////////////////////////////////////////////////////// 47 unsigned long int DCFile::get_hash(void) const; 455 8 get_name 4 495 19 DCKeyword::get_name 0 1 225 252 //////////////////////////////////////////////////////////////////// // Function: DCKeyword::get_name // Access: Published // Description: Returns the name of this keyword. //////////////////////////////////////////////////////////////////// 60 basic_string< char > const &DCKeyword::get_name(void) const; 456 15 get_num_atomics 4 496 33 DCMolecularField::get_num_atomics 0 1 226 320 //////////////////////////////////////////////////////////////////// // Function: DCMolecularField::get_num_atomics // Access: Published // Description: Returns the number of atomic fields that make up this // molecular field. //////////////////////////////////////////////////////////////////// 50 int DCMolecularField::get_num_atomics(void) const; 457 10 get_atomic 4 496 28 DCMolecularField::get_atomic 0 1 227 440 //////////////////////////////////////////////////////////////////// // Function: DCMolecularField::get_atomic // Access: Published // Description: Returns the nth atomic field that makes up this // molecular field. This may or may not be a field of // this particular class; it might be defined in a // parent class. //////////////////////////////////////////////////////////////////// 57 DCAtomicField *DCMolecularField::get_atomic(int n) const; 458 17 ~DCMolecularField 4 496 35 DCMolecularField::~DCMolecularField 0 0 0 42 DCMolecularField::~DCMolecularField(void); 459 8 get_type 4 497 27 DCSimpleParameter::get_type 0 1 228 311 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_type // Access: Published // Description: Returns the particular subatomic type represented by // this instance. //////////////////////////////////////////////////////////////////// 56 DCSubatomicType DCSimpleParameter::get_type(void) const; 460 11 has_modulus 4 497 30 DCSimpleParameter::has_modulus 0 1 229 311 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::has_modulus // Access: Published // Description: Returns true if there is a modulus associated, false // otherwise., //////////////////////////////////////////////////////////////////// 48 bool DCSimpleParameter::has_modulus(void) const; 461 11 get_modulus 4 497 30 DCSimpleParameter::get_modulus 0 1 230 564 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_modulus // Access: Published // Description: Returns the modulus associated with this type, if // any. It is an error to call this if has_modulus() // returned false. // // If present, this is the modulus that is used to // constrain the numeric value of the field before it is // packed (and range-checked). //////////////////////////////////////////////////////////////////// 50 double DCSimpleParameter::get_modulus(void) const; 462 11 get_divisor 4 497 30 DCSimpleParameter::get_divisor 0 1 231 588 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_divisor // Access: Published // Description: Returns the divisor associated with this type. This // is 1 by default, but if this is other than one it // represents the scale to apply when packing and // unpacking numeric values (to store fixed-point values // in an integer field). It is only meaningful for // numeric-type fields. //////////////////////////////////////////////////////////////////// 47 int DCSimpleParameter::get_divisor(void) const; 463 18 ~DCSimpleParameter 4 497 37 DCSimpleParameter::~DCSimpleParameter 0 0 0 44 DCSimpleParameter::~DCSimpleParameter(void); 464 8 get_name 4 498 18 DCSwitch::get_name 0 1 232 250 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_name // Access: Published // Description: Returns the name of this switch. //////////////////////////////////////////////////////////////////// 59 basic_string< char > const &DCSwitch::get_name(void) const; 465 17 get_key_parameter 4 498 27 DCSwitch::get_key_parameter 0 1 233 450 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_key_parameter // Access: Published // Description: Returns the key parameter on which the switch is // based. The value of this parameter in the record // determines which one of the several cases within the // switch will be used. //////////////////////////////////////////////////////////////////// 49 DCField *DCSwitch::get_key_parameter(void) const; 466 13 get_num_cases 4 498 23 DCSwitch::get_num_cases 0 1 234 383 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_cases // Access: Published // Description: Returns the number of different cases within the // switch. The legal values for case_index range from 0 // to get_num_cases() - 1. //////////////////////////////////////////////////////////////////// 40 int DCSwitch::get_num_cases(void) const; 467 17 get_case_by_value 4 498 27 DCSwitch::get_case_by_value 0 1 235 363 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_case_by_value // Access: Published // Description: Returns the index number of the case with the // indicated packed value, or -1 if no case has this // value. //////////////////////////////////////////////////////////////////// 78 int DCSwitch::get_case_by_value(basic_string< char > const &case_value) const; 468 8 get_case 4 498 18 DCSwitch::get_case 0 1 236 272 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_case // Access: Published // Description: Returns the DCPackerInterface that packs the nth case. //////////////////////////////////////////////////////////////////// 51 DCPackerInterface *DCSwitch::get_case(int n) const; 469 16 get_default_case 4 498 26 DCSwitch::get_default_case 0 1 237 338 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_default_case // Access: Published // Description: Returns the DCPackerInterface that packs the default // case, or NULL if there is no default case. //////////////////////////////////////////////////////////////////// 58 DCPackerInterface *DCSwitch::get_default_case(void) const; 470 9 get_value 4 498 19 DCSwitch::get_value 0 1 238 296 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_value // Access: Published // Description: Returns the packed value associated with the // indicated case. //////////////////////////////////////////////////////////////////// 63 basic_string< char > DCSwitch::get_value(int case_index) const; 471 14 get_num_fields 4 498 24 DCSwitch::get_num_fields 0 1 239 275 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_fields // Access: Published // Description: Returns the number of fields in the indicated case. //////////////////////////////////////////////////////////////////// 51 int DCSwitch::get_num_fields(int case_index) const; 472 9 get_field 4 498 19 DCSwitch::get_field 0 1 240 268 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_fields // Access: Published // Description: Returns the nth field in the indicated case. //////////////////////////////////////////////////////////////////// 58 DCField *DCSwitch::get_field(int case_index, int n) const; 473 17 get_field_by_name 4 498 27 DCSwitch::get_field_by_name 0 1 241 341 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_field_by_name // Access: Published // Description: Returns the field with the given name from the // indicated case, or NULL if no field has this name. //////////////////////////////////////////////////////////////////// 93 DCField *DCSwitch::get_field_by_name(int case_index, basic_string< char > const &name) const; 474 10 get_switch 4 499 29 DCSwitchParameter::get_switch 0 1 242 281 //////////////////////////////////////////////////////////////////// // Function: DCSwitchParameter::get_switch // Access: Published // Description: Returns the switch object this parameter represents. //////////////////////////////////////////////////////////////////// 58 DCSwitch const *DCSwitchParameter::get_switch(void) const; 475 18 ~DCSwitchParameter 4 499 37 DCSwitchParameter::~DCSwitchParameter 0 0 0 44 DCSwitchParameter::~DCSwitchParameter(void); 476 10 get_number 4 500 21 DCTypedef::get_number 0 1 243 384 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_number // Access: Published // Description: Returns a unique index number associated with this // typedef definition. This is defined implicitly when // the .dc file(s) are read. //////////////////////////////////////////////////////////////////// 38 int DCTypedef::get_number(void) const; 477 8 get_name 4 500 19 DCTypedef::get_name 0 1 244 252 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_name // Access: Published // Description: Returns the name of this typedef. //////////////////////////////////////////////////////////////////// 60 basic_string< char > const &DCTypedef::get_name(void) const; 478 15 get_description 4 500 26 DCTypedef::get_description 0 1 245 315 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_description // Access: Published // Description: Returns a brief decription of the typedef, useful for // human consumption. //////////////////////////////////////////////////////////////////// 60 basic_string< char > DCTypedef::get_description(void) const; 479 16 is_bogus_typedef 4 500 27 DCTypedef::is_bogus_typedef 0 1 246 531 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::is_bogus_typedef // Access: Public // Description: Returns true if the typedef has been flagged as a bogus // typedef. This is set for typedefs that are generated by // the parser as placeholder for missing typedefs, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 45 bool DCTypedef::is_bogus_typedef(void) const; 480 19 is_implicit_typedef 4 500 30 DCTypedef::is_implicit_typedef 0 1 247 404 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::is_implicit_typedef // Access: Public // Description: Returns true if the typedef has been flagged as an // implicit typedef, meaning it was created for a // DCClass that was referenced inline as a type. //////////////////////////////////////////////////////////////////// 48 bool DCTypedef::is_implicit_typedef(void) const; 247 1 14 Dtool_5HfQEqeZ 6 5 503 0 14 Dtool_5HfQEqeZ 809 // Filename: dcPackerInterface.I // Created by: drose (18Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::get_name // Access: Published // Description: Returns the name of this field, or empty string // if the field is unnamed. //////////////////////////////////////////////////////////////////// 1 4 this 3 501 2 14 Dtool_5HfQ4eZn 6 6 504 0 14 Dtool_5HfQ4eZn 849 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::find_seek_index // Access: Published // Description: Returns the index number to be passed to a future // call to DCPacker::seek() to seek directly to the // named field without having to look up the field name // in a table later, or -1 if the named field cannot be // found. // // If the named field is nested within a switch or some // similar dynamic structure that reveals different // fields based on the contents of the data, this // mechanism cannot be used to pre-fetch the field index // number--you must seek for the field by name. //////////////////////////////////////////////////////////////////// 2 4 this 3 501 4 name 1 503 3 14 Dtool_5HfQlG9m 6 7 506 0 14 Dtool_5HfQlG9m 236 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 505 4 14 Dtool_5HfQJDqB 6 7 507 0 14 Dtool_5HfQJDqB 236 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 501 5 14 Dtool_5HfQUOXk 6 8 509 0 14 Dtool_5HfQUOXk 247 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_switch_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 505 6 14 Dtool_5HfQ1e9D 6 8 510 0 14 Dtool_5HfQ1e9D 247 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_switch_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 501 7 14 Dtool_5HfQLrGr 6 9 512 0 14 Dtool_5HfQLrGr 246 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_class_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 505 8 14 Dtool_5HfQ_GEW 6 9 513 0 14 Dtool_5HfQ_GEW 246 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::as_class_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 501 9 14 Dtool_5HfQcNZX 6 10 515 0 14 Dtool_5HfQcNZX 452 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::check_match // Access: Published // Description: Returns true if the other interface is bitwise the // same as this one--that is, a uint32 only matches a // uint32, etc. Names of components, and range limits, // are not compared. //////////////////////////////////////////////////////////////////// 2 4 this 3 501 5 other 1 501 10 14 Dtool_5HfQvvj_ 6 10 515 0 14 Dtool_5HfQvvj_ 684 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::check_match // Access: Published // Description: Returns true if this interface is bitwise the same as // the interface described with the indicated formatted // string, e.g. "(uint8, uint8, int16)", or false // otherwise. // // If DCFile is not NULL, it specifies the DCFile that // was previously loaded, from which some predefined // structs and typedefs may be referenced in the // description string. //////////////////////////////////////////////////////////////////// 3 4 this 3 501 11 description 1 503 6 dcfile 1 516 11 14 Dtool_5HfQrsRl 6 10 515 0 14 Dtool_5HfQrsRl 684 //////////////////////////////////////////////////////////////////// // Function: DCPackerInterface::check_match // Access: Published // Description: Returns true if this interface is bitwise the same as // the interface described with the indicated formatted // string, e.g. "(uint8, uint8, int16)", or false // otherwise. // // If DCFile is not NULL, it specifies the DCFile that // was previously loaded, from which some predefined // structs and typedefs may be referenced in the // description string. //////////////////////////////////////////////////////////////////// 2 4 this 3 501 11 description 1 503 12 14 Dtool_5HfQKRZd 6 13 515 0 14 Dtool_5HfQKRZd 317 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::has_keyword // Access: Published // Description: Returns true if this list includes the indicated // keyword, false otherwise. //////////////////////////////////////////////////////////////////// 2 4 this 3 517 7 keyword 1 519 13 14 Dtool_5HfQMTox 6 13 515 0 14 Dtool_5HfQMTox 317 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::has_keyword // Access: Published // Description: Returns true if this list includes the indicated // keyword, false otherwise. //////////////////////////////////////////////////////////////////// 2 4 this 3 517 4 name 1 503 14 14 Dtool_5HfQQFpj 6 14 504 0 14 Dtool_5HfQQFpj 274 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_num_keywords // Access: Published // Description: Returns the number of keywords in the list. //////////////////////////////////////////////////////////////////// 1 4 this 3 517 15 14 Dtool_5HfQxzo1 6 15 519 0 14 Dtool_5HfQxzo1 262 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_keyword // Access: Published // Description: Returns the nth keyword in the list. //////////////////////////////////////////////////////////////////// 2 4 this 3 517 1 n 1 504 16 14 Dtool_5HfQDCHO 6 16 519 0 14 Dtool_5HfQDCHO 383 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::get_keyword_by_name // Access: Published // Description: Returns the keyword in the list with the indicated // name, or NULL if there is no keyword in the list with // that name. //////////////////////////////////////////////////////////////////// 2 4 this 3 517 4 name 1 503 17 14 Dtool_5HfQcn3i 6 17 515 0 14 Dtool_5HfQcn3i 397 //////////////////////////////////////////////////////////////////// // Function: DCKeywordList::compare_keywords // Access: Published // Description: Returns true if this list has the same keywords // as the other list, false if some keywords differ. // Order is not considered important. //////////////////////////////////////////////////////////////////// 2 4 this 3 517 5 other 1 517 18 14 Dtool_5HfQYIQq 6 24 504 0 14 Dtool_5HfQYIQq 852 // Filename: dcField.I // Created by: drose (10Jan06) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCField::get_number // Access: Published // Description: Returns a unique index number associated with this // field. This is defined implicitly when the .dc // file(s) are read. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 19 14 Dtool_5HfQKiHU 6 25 521 0 14 Dtool_5HfQKiHU 302 //////////////////////////////////////////////////////////////////// // Function: DCField::get_class // Access: Published // Description: Returns the DCClass pointer for the class that // contains this field. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 20 14 Dtool_5HfQ9WW_ 6 26 506 0 14 Dtool_5HfQ9WW_ 226 //////////////////////////////////////////////////////////////////// // Function: DCField::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 506 21 14 Dtool_5HfQy3Bl 6 26 507 0 14 Dtool_5HfQy3Bl 226 //////////////////////////////////////////////////////////////////// // Function: DCField::as_field // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 507 22 14 Dtool_5HfQEiDu 6 27 522 0 14 Dtool_5HfQEiDu 396 //////////////////////////////////////////////////////////////////// // Function: DCField::as_atomic_field // Access: Published, Virtual // Description: Returns the same field pointer converted to an atomic // field pointer, if this is in fact an atomic field; // otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 1 4 this 3 506 23 14 Dtool_5HfQzwks 6 27 523 0 14 Dtool_5HfQzwks 396 //////////////////////////////////////////////////////////////////// // Function: DCField::as_atomic_field // Access: Published, Virtual // Description: Returns the same field pointer converted to an atomic // field pointer, if this is in fact an atomic field; // otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 24 14 Dtool_5HfQuhmz 6 28 525 0 14 Dtool_5HfQuhmz 403 //////////////////////////////////////////////////////////////////// // Function: DCField::as_molecular_field // Access: Published, Virtual // Description: Returns the same field pointer converted to a // molecular field pointer, if this is in fact a // molecular field; otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 1 4 this 3 506 25 14 Dtool_5HfQ5dUO 6 28 526 0 14 Dtool_5HfQ5dUO 403 //////////////////////////////////////////////////////////////////// // Function: DCField::as_molecular_field // Access: Published, Virtual // Description: Returns the same field pointer converted to a // molecular field pointer, if this is in fact a // molecular field; otherwise, returns NULL. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 26 14 Dtool_5HfQdmWk 6 29 528 0 14 Dtool_5HfQdmWk 230 //////////////////////////////////////////////////////////////////// // Function: DCField::as_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 506 27 14 Dtool_5HfQORwy 6 29 529 0 14 Dtool_5HfQORwy 230 //////////////////////////////////////////////////////////////////// // Function: DCField::as_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 507 28 14 Dtool_5HfQbV7k 6 30 503 0 14 Dtool_5HfQbV7k 412 //////////////////////////////////////////////////////////////////// // Function: DCField::format_data // Access: Published // Description: Given a blob that represents the packed data for this // field, returns a string formatting it for human // consumption. Returns empty string if there is an error. //////////////////////////////////////////////////////////////////// 3 4 this 3 506 11 packed_data 1 503 16 show_field_names 1 515 29 14 Dtool_5HfQAzaE 6 30 503 0 14 Dtool_5HfQAzaE 412 //////////////////////////////////////////////////////////////////// // Function: DCField::format_data // Access: Published // Description: Given a blob that represents the packed data for this // field, returns a string formatting it for human // consumption. Returns empty string if there is an error. //////////////////////////////////////////////////////////////////// 2 4 this 3 506 11 packed_data 1 503 30 14 Dtool_5HfQZxBu 6 31 503 0 14 Dtool_5HfQZxBu 515 //////////////////////////////////////////////////////////////////// // Function: DCField::parse_string // Access: Published // Description: Given a human-formatted string (for instance, as // returned by format_data(), above) that represents the // value of this field, parse the string and return the // corresponding packed data. Returns empty string if // there is an error. //////////////////////////////////////////////////////////////////// 2 4 this 3 506 16 formatted_string 1 503 31 14 Dtool_5HfQu_ys 6 32 515 0 14 Dtool_5HfQu_ys 479 //////////////////////////////////////////////////////////////////// // Function: DCField::validate_ranges // Access: Published // Description: Verifies that all of the packed values in the field // data are within the specified ranges and that there // are no extra bytes on the end of the record. Returns // true if all fields are valid, false otherwise. //////////////////////////////////////////////////////////////////// 2 4 this 3 507 11 packed_data 1 503 32 14 Dtool_5HfQMANq 6 33 515 0 14 Dtool_5HfQMANq 339 //////////////////////////////////////////////////////////////////// // Function: DCField::has_default_value // Access: Published // Description: Returns true if a default value has been explicitly // established for this field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 33 14 Dtool_5HfQJt60 6 34 503 0 14 Dtool_5HfQJt60 494 //////////////////////////////////////////////////////////////////// // Function: DCField::get_default_value // Access: Published // Description: Returns the default value for this field. If a // default value has been explicitly set // (e.g. has_default_value() returns true), returns that // value; otherwise, returns an implicit default for the // field. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 34 14 Dtool_5HfQ6kWH 6 35 515 0 14 Dtool_5HfQ6kWH 522 //////////////////////////////////////////////////////////////////// // Function: DCField::is_bogus_field // Access: Published // Description: Returns true if the field has been flagged as a bogus // field. This is set for fields that are generated by // the parser as placeholder for missing fields, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 35 14 Dtool_5HfQsDoF 6 36 515 0 14 Dtool_5HfQsDoF 312 //////////////////////////////////////////////////////////////////// // Function: DCField::is_required // Access: Published // Description: Returns true if the "required" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 36 14 Dtool_5HfQ01Fw 6 37 515 0 14 Dtool_5HfQ01Fw 314 //////////////////////////////////////////////////////////////////// // Function: DCField::is_broadcast // Access: Published // Description: Returns true if the "broadcast" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 37 14 Dtool_5HfQFnxN 6 38 515 0 14 Dtool_5HfQFnxN 302 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ram // Access: Published // Description: Returns true if the "ram" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 38 14 Dtool_5HfQnl1_ 6 39 515 0 14 Dtool_5HfQnl1_ 300 //////////////////////////////////////////////////////////////////// // Function: DCField::is_db // Access: Published // Description: Returns true if the "db" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 39 14 Dtool_5HfQ_j06 6 40 515 0 14 Dtool_5HfQ_j06 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_clsend // Access: Published // Description: Returns true if the "clsend" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 40 14 Dtool_5HfQtyCR 6 41 515 0 14 Dtool_5HfQtyCR 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_clrecv // Access: Published // Description: Returns true if the "clrecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 41 14 Dtool_5HfQGJ0E 6 42 515 0 14 Dtool_5HfQGJ0E 310 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ownsend // Access: Published // Description: Returns true if the "ownsend" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 42 14 Dtool_5HfQZRQM 6 43 515 0 14 Dtool_5HfQZRQM 310 //////////////////////////////////////////////////////////////////// // Function: DCField::is_ownrecv // Access: Published // Description: Returns true if the "ownrecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 43 14 Dtool_5HfQl0Uq 6 44 515 0 14 Dtool_5HfQl0Uq 308 //////////////////////////////////////////////////////////////////// // Function: DCField::is_airecv // Access: Published // Description: Returns true if the "airecv" flag is set for this // field, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 507 44 14 Dtool_5HfQLxp4 4 45 533 0 14 Dtool_5HfQLxp4 292 //////////////////////////////////////////////////////////////////// // Function : DCField::output // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 2 4 this 3 507 3 out 1 531 45 14 Dtool_5HfQnirA 4 46 533 0 14 Dtool_5HfQnirA 286 //////////////////////////////////////////////////////////////////// // Function : DCField:: // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 3 4 this 3 507 3 out 1 531 12 indent_level 1 504 46 14 Dtool_5HfQBNMR 6 47 515 0 14 Dtool_5HfQBNMR 470 //////////////////////////////////////////////////////////////////// // Function: DCField::pack_args // Access: Published // Description: Packs the Python arguments from the indicated tuple // into the packer. Returns true on success, false on // failure. // // It is assumed that the packer is currently positioned // on this field. //////////////////////////////////////////////////////////////////// 3 4 this 3 507 6 packer 1 534 8 sequence 1 535 47 14 Dtool_5HfQ7m86 6 48 535 0 14 Dtool_5HfQ7m86 491 //////////////////////////////////////////////////////////////////// // Function: DCField::unpack_args // Access: Published // Description: Unpacks the values from the packer, beginning at // the current point in the unpack_buffer, into a Python // tuple and returns the tuple. // // It is assumed that the packer is currently positioned // on this field. //////////////////////////////////////////////////////////////////// 2 4 this 3 507 6 packer 1 534 48 14 Dtool_5HfQc4tY 4 49 533 0 14 Dtool_5HfQc4tY 378 //////////////////////////////////////////////////////////////////// // Function: DCField::receive_update // Access: Published // Description: Extracts the update message out of the datagram and // applies it to the indicated object by calling the // appropriate method. //////////////////////////////////////////////////////////////////// 3 4 this 3 507 6 packer 1 534 7 distobj 1 535 49 14 Dtool_5HfQF0YR 7 50 539 0 14 Dtool_5HfQF0YR 388 //////////////////////////////////////////////////////////////////// // Function: DCField::client_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the client. //////////////////////////////////////////////////////////////////// 3 4 this 3 507 5 do_id 1 538 4 args 1 535 50 14 Dtool_5HfQRmQd 7 51 539 0 14 Dtool_5HfQRmQd 380 //////////////////////////////////////////////////////////////////// // Function: DCField::ai_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 5 4 this 3 507 5 do_id 1 538 5 to_id 1 540 7 from_id 1 540 4 args 1 535 51 14 Dtool_5HfQw7EM 7 52 539 0 14 Dtool_5HfQw7EM 426 //////////////////////////////////////////////////////////////////// // Function: DCField::ai_format_update_msg_type // Access: Published // Description: Generates a datagram containing the message necessary // to send an update, with the msg type, // for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 6 4 this 3 507 5 do_id 1 538 5 to_id 1 540 7 from_id 1 540 8 msg_type 1 504 4 args 1 535 52 14 Dtool_5HfQ2PMX 6 19 505 0 14 Dtool_5HfQ2PMX 0 1 4 this 3 506 53 14 Dtool_5HfQvejk 6 20 506 0 14 Dtool_5HfQvejk 0 1 4 this 3 505 54 14 Dtool_5HfQyCOi 6 21 541 0 14 Dtool_5HfQyCOi 0 1 4 this 3 506 55 14 Dtool_5HfQS2_O 6 22 506 0 14 Dtool_5HfQS2_O 0 1 4 this 3 541 56 14 Dtool_5HfQb_tg 7 54 542 296 14 Dtool_5HfQb_tg 709 // Filename: dcPackData.I // Created by: drose (15Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPackData::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 0 57 14 Dtool_5HfQi4W4 4 56 533 0 14 Dtool_5HfQi4W4 318 //////////////////////////////////////////////////////////////////// // Function: DCPackData::clear // Access: Published // Description: Empties the contents of the data (without necessarily // freeing its allocated memory). //////////////////////////////////////////////////////////////////// 1 4 this 3 542 58 14 Dtool_5HfQqSqZ 6 57 503 0 14 Dtool_5HfQqSqZ 297 //////////////////////////////////////////////////////////////////// // Function: DCPackData::get_string // Access: Published // Description: Returns the data buffer as a string. Also see // get_data(). //////////////////////////////////////////////////////////////////// 1 4 this 3 543 59 14 Dtool_5HfQR8z_ 6 58 538 0 14 Dtool_5HfQR8z_ 393 //////////////////////////////////////////////////////////////////// // Function: DCPackData::get_length // Access: Published // Description: Returns the current length of the buffer. This is // the number of useful bytes stored in the buffer, not // the amount of memory it takes up. //////////////////////////////////////////////////////////////////// 1 4 this 3 543 60 14 Dtool_5HfQfQtS 7 60 534 301 14 Dtool_5HfQfQtS 221 //////////////////////////////////////////////////////////////////// // Function: DCPacker::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 0 61 14 Dtool_5HfQJSK8 4 62 533 0 14 Dtool_5HfQJSK8 928 // Filename: dcPacker.I // Created by: drose (15Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCPacker::clear_data // Access: Published // Description: Empties the data in the pack buffer and unpack // buffer. This should be called between calls to // begin_pack(), unless you want to concatenate all of // the pack results together. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 62 14 Dtool_5HfQ45bk 4 63 533 0 14 Dtool_5HfQ45bk 703 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_pack // Access: Published // Description: Begins a packing session. The parameter is the DC // object that describes the packing format; it may be a // DCParameter or DCField. // // Unless you call clear_data() between sessions, // multiple packing sessions will be concatenated // together into the same buffer. If you wish to add // bytes to the buffer between packing sessions, use // append_data() or get_write_pointer(). //////////////////////////////////////////////////////////////////// 2 4 this 3 534 4 root 1 501 63 14 Dtool_5HfQ7Jow 6 64 515 0 14 Dtool_5HfQ7Jow 382 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_pack // Access: Published, Virtual // Description: Finishes a packing session. // // The return value is true on success, or false if // there has been some error during packing. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 64 14 Dtool_5HfQvBpF 4 65 533 0 14 Dtool_5HfQvBpF 383 //////////////////////////////////////////////////////////////////// // Function: DCPacker::set_unpack_data // Access: Public // Description: Sets up the unpack_data pointer. You may call this // before calling the version of begin_unpack() that // takes only one parameter. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 4 data 1 503 65 14 Dtool_5HfQbOoZ 4 66 533 0 14 Dtool_5HfQbOoZ 688 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_unpack // Access: Public // Description: Begins an unpacking session. You must have // previously called set_unpack_data() to specify a // buffer to unpack. // // If there was data left in the buffer after a previous // begin_unpack() .. end_unpack() session, the new // session will resume from the current point. This // method may be used, therefore, to unpack a sequence // of objects from the same buffer. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 4 root 1 501 66 14 Dtool_5HfQbEEC 6 67 515 0 14 Dtool_5HfQbEEC 440 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_unpack // Access: Published // Description: Finishes the unpacking session. // // The return value is true on success, or false if // there has been some error during unpacking (or if all // fields have not been unpacked). //////////////////////////////////////////////////////////////////// 1 4 this 3 534 67 14 Dtool_5HfQthAN 4 68 533 0 14 Dtool_5HfQthAN 937 //////////////////////////////////////////////////////////////////// // Function: DCPacker::begin_repack // Access: Public // Description: Begins a repacking session. You must have previously // called set_unpack_data() to specify a buffer to // unpack. // // Unlike begin_pack() or begin_unpack() you may not // concatenate the results of multiple begin_repack() // sessions in one buffer. // // Also, unlike in packing or unpacking modes, you may // not walk through the fields from beginning to end, or // even pack two consecutive fields at once. Instead, // you must call seek() for each field you wish to // modify and pack only that one field; then call seek() // again to modify another field. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 4 root 1 501 68 14 Dtool_5HfQwRsw 6 69 515 0 14 Dtool_5HfQwRsw 440 //////////////////////////////////////////////////////////////////// // Function: DCPacker::end_repack // Access: Published // Description: Finishes the repacking session. // // The return value is true on success, or false if // there has been some error during repacking (or if all // fields have not been repacked). //////////////////////////////////////////////////////////////////// 1 4 this 3 534 69 14 Dtool_5HfQ_NNW 6 70 515 0 14 Dtool_5HfQ_NNW 658 //////////////////////////////////////////////////////////////////// // Function: DCPacker::seek // Access: Published // Description: Sets the current unpack (or repack) position to the // named field. In unpack mode, the next call to // unpack_*() or push() will begin to read the named // field. In repack mode, the next call to pack_*() or // push() will modify the named field. // // Returns true if successful, false if the field is not // known (or if the packer is in an invalid mode). //////////////////////////////////////////////////////////////////// 2 4 this 3 534 10 field_name 1 503 70 14 Dtool_5HfQ2QAv 6 70 515 0 14 Dtool_5HfQ2QAv 632 //////////////////////////////////////////////////////////////////// // Function: DCPacker::seek // Access: Published // Description: Seeks to the field indentified by seek_index, which // was returned by an earlier call to // DCField::find_seek_index() to get the index of some // nested field. Also see the version of seek() that // accepts a field name. // // Returns true if successful, false if the field is not // known (or if the packer is in an invalid mode). //////////////////////////////////////////////////////////////////// 2 4 this 3 534 10 seek_index 1 504 71 14 Dtool_5HfQ0gaI 6 71 515 0 14 Dtool_5HfQ0gaI 529 //////////////////////////////////////////////////////////////////// // Function: DCPacker::has_nested_fields // Access: Published // Description: Returns true if the current field has any nested // fields (and thus expects a push() .. pop() // interface), or false otherwise. If this returns // true, get_num_nested_fields() may be called to // determine how many nested fields are expected. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 72 14 Dtool_5HfQQA_a 6 72 504 0 14 Dtool_5HfQQA_a 885 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_num_nested_fields // Access: Published // Description: Returns the number of nested fields associated with // the current field, if has_nested_fields() returned // true. // // The return value may be -1 to indicate that a // variable number of nested fields are accepted by this // field type (e.g. a variable-length array). // // Note that this method is unreliable to determine how // many fields you must traverse before you can call // pop(), since particularly in the presence of a // DCSwitch, it may change during traversal. Use // more_nested_fields() instead. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 73 14 Dtool_5HfQloor 6 73 515 0 14 Dtool_5HfQloor 389 //////////////////////////////////////////////////////////////////// // Function: DCPacker::more_nested_fields // Access: Published // Description: Returns true if there are more nested fields to pack // or unpack in the current push sequence, false if it // is time to call pop(). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 74 14 Dtool_5HfQO8yu 6 74 501 0 14 Dtool_5HfQO8yu 436 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_parent // Access: Published // Description: Returns the field that we left in our last call to // push(): the owner of the current level of fields. // This may be NULL at the beginning of the pack // operation. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 75 14 Dtool_5HfQe_9F 6 75 501 0 14 Dtool_5HfQe_9F 458 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_field // Access: Published // Description: Returns the field that will be referenced by the next // call to pack_*() or unpack_*(). This will be NULL if // we have unpacked (or packed) all fields, or if it is // time to call pop(). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 76 14 Dtool_5HfQ3fj4 6 76 510 0 14 Dtool_5HfQ3fj4 746 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_last_switch // Access: Published // Description: Returns a pointer to the last DCSwitch instance that // we have passed by and selected one case of during the // pack/unpack process. Each time we encounter a new // DCSwitch and select a case, this will change state. // // This may be used to detect when a DCSwitch has been // selected. At the moment this changes state, // get_current_parent() will contain the particular // SwitchCase that was selected by the switch. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 77 14 Dtool_5HfQDwsp 6 77 482 0 14 Dtool_5HfQDwsp 771 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_pack_type // Access: Published // Description: Returns the type of value expected by the current // field. See the enumerated type definition at the top // of DCPackerInterface.h. If this returns one of // PT_double, PT_int, PT_int64, or PT_string, then you // should call the corresponding pack_double(), // pack_int() function (or unpack_double(), // unpack_int(), etc.) to transfer data. Otherwise, you // should call push() and begin packing or unpacking the // nested fields. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 78 14 Dtool_5HfQeaOc 6 78 503 0 14 Dtool_5HfQeaOc 406 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_current_field_name // Access: Published // Description: Returns the name of the current field, if it has a // name, or the empty string if the field does not have // a name or there is no current field. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 79 14 Dtool_5HfQcQuF 4 79 533 0 14 Dtool_5HfQcQuF 587 //////////////////////////////////////////////////////////////////// // Function: DCPacker::push // Access: Published // Description: Marks the beginning of a nested series of fields. // // This must be called before filling the elements of an // array or the individual fields in a structure field. // It must also be balanced by a matching pop(). // // It is necessary to use push() / pop() only if // has_nested_fields() returns true. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 80 14 Dtool_5HfQ6bfW 4 80 533 0 14 Dtool_5HfQ6bfW 495 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pop // Access: Published // Description: Marks the end of a nested series of fields. // // This must be called to match a previous push() only // after all the expected number of nested fields have // been packed. It is an error to call it too early, or // too late. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 81 14 Dtool_5HfQBIAM 4 81 533 0 14 Dtool_5HfQBIAM 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_double // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 547 82 14 Dtool_5HfQ3yIL 4 82 533 0 14 Dtool_5HfQ3yIL 295 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_int // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 504 83 14 Dtool_5HfQut3J 4 83 533 0 14 Dtool_5HfQut3J 296 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_uint // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 538 84 14 Dtool_5HfQCx0g 4 84 533 0 14 Dtool_5HfQCx0g 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_int64 // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 548 85 14 Dtool_5HfQZTfh 4 85 533 0 14 Dtool_5HfQZTfh 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_uint64 // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 540 86 14 Dtool_5HfQCdT5 4 86 533 0 14 Dtool_5HfQCdT5 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_string // Access: Published // Description: Packs the indicated numeric or string value into the // stream. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 503 87 14 Dtool_5HfQTx3e 4 87 533 0 14 Dtool_5HfQTx3e 402 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_literal_value // Access: Published // Description: Adds the indicated string value into the stream, // representing a single pre-packed field element, or a // whole group of field elements at once. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 503 88 14 Dtool_5HfQTBAY 4 88 533 0 14 Dtool_5HfQTBAY 406 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_default_value // Access: Published // Description: Adds the default value for the current element into // the stream. If no default has been set for the // current element, creates a sensible default. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 89 14 Dtool_5HfQT8q9 6 89 547 0 14 Dtool_5HfQT8q9 300 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_double // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 90 14 Dtool_5HfQmv6O 6 90 504 0 14 Dtool_5HfQmv6O 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 91 14 Dtool_5HfQ_P2V 6 91 538 0 14 Dtool_5HfQ_P2V 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 92 14 Dtool_5HfQeXGO 6 92 548 0 14 Dtool_5HfQeXGO 299 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_int64 // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 93 14 Dtool_5HfQ_EJ8 6 93 540 0 14 Dtool_5HfQ_EJ8 300 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_uint64 // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 94 14 Dtool_5HfQl8eu 6 94 503 0 14 Dtool_5HfQl8eu 300 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_string // Access: Published // Description: Unpacks the current numeric or string value from the // stream. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 95 14 Dtool_5HfQRc82 6 95 503 0 14 Dtool_5HfQRc82 377 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_literal_value // Access: Published // Description: Returns the literal string that represents the packed // value of the current field, and advances the field // pointer. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 96 14 Dtool_5HfQOtBs 4 96 533 0 14 Dtool_5HfQOtBs 478 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_validate // Access: Published // Description: Internally unpacks the current numeric or string // value and validates it against the type range limits, // but does not return the value. If the current field // contains nested fields, validates all of them. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 97 14 Dtool_5HfQGmIK 4 97 533 0 14 Dtool_5HfQGmIK 396 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_skip // Access: Published // Description: Skips the current field without unpacking it and // advances to the next field. If the current field // contains nested fields, skips all of them. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 98 14 Dtool_5HfQbgXg 4 98 533 0 14 Dtool_5HfQbgXg 528 //////////////////////////////////////////////////////////////////// // Function: DCPacker::pack_object // Access: Published // Description: Packs the Python object of whatever type into the // packer. Each numeric object and string object maps // to the corresponding pack_value() call; a tuple or // sequence maps to a push() followed by all of the // tuple's contents followed by a pop(). //////////////////////////////////////////////////////////////////// 2 4 this 3 534 6 object 1 535 99 14 Dtool_5HfQP6lw 6 99 535 0 14 Dtool_5HfQP6lw 509 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_object // Access: Published // Description: Unpacks a Python object of the appropriate type from // the stream for the current field. This may be an // integer or a string for a simple field object; if the // current field represents a list of fields it will be // a tuple. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 100 14 Dtool_5HfQOrNi 6 100 515 0 14 Dtool_5HfQOrNi 425 // HAVE_PYTHON //////////////////////////////////////////////////////////////////// // Function: DCPacker::parse_and_pack // Access: Published // Description: Parses an object's value according to the DC file // syntax (e.g. as a default value string) and packs it. // Returns true on success, false on a parse error. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 16 formatted_object 1 503 101 14 Dtool_5HfQQffJ 6 100 515 0 14 Dtool_5HfQQffJ 410 //////////////////////////////////////////////////////////////////// // Function: DCPacker::parse_and_pack // Access: Published // Description: Parses an object's value according to the DC file // syntax (e.g. as a default value string) and packs it. // Returns true on success, false on a parse error. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 2 in 1 549 102 14 Dtool_5HfQ7w6k 6 101 503 0 14 Dtool_5HfQ7w6k 409 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 16 show_field_names 1 515 103 14 Dtool_5HfQ7De7 6 101 503 0 14 Dtool_5HfQ7De7 409 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 104 14 Dtool_5HfQ1a_o 4 101 533 0 14 Dtool_5HfQ1a_o 409 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// 3 4 this 3 534 3 out 1 531 16 show_field_names 1 515 105 14 Dtool_5HfQDezg 4 101 533 0 14 Dtool_5HfQDezg 409 //////////////////////////////////////////////////////////////////// // Function: DCPacker::unpack_and_format // Access: Published // Description: Unpacks an object and formats its value into a syntax // suitable for parsing in the dc file (e.g. as a // default value), or as an input to parse_object. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 3 out 1 531 106 14 Dtool_5HfQs8if 6 102 515 0 14 Dtool_5HfQs8if 394 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_parse_error // Access: Published // Description: Returns true if there has been an parse error // since the most recent call to begin(); this can only // happen if you call parse_and_pack(). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 107 14 Dtool_5HfQI5eb 6 103 515 0 14 Dtool_5HfQI5eb 802 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_pack_error // Access: Published // Description: Returns true if there has been an packing error // since the most recent call to begin(); in particular, // this may be called after end() has returned false to // determine the nature of the failure. // // A return value of true indicates there was a push/pop // mismatch, or the push/pop structure did not match the // data structure, or there were the wrong number of // elements in a nested push/pop structure, or on unpack // that the data stream was truncated. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 108 14 Dtool_5HfQKmZZ 6 104 515 0 14 Dtool_5HfQKmZZ 735 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_range_error // Access: Published // Description: Returns true if there has been an range validation // error since the most recent call to begin(); in // particular, this may be called after end() has // returned false to determine the nature of the // failure. // // A return value of true indicates a value that was // packed or unpacked did not fit within the specified // legal range for a parameter, or within the limits of // the field size. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 109 14 Dtool_5HfQLzjv 6 105 515 0 14 Dtool_5HfQLzjv 492 //////////////////////////////////////////////////////////////////// // Function: DCPacker::had_error // Access: Published // Description: Returns true if there has been any error (either a // pack error or a range error) since the most recent // call to begin(). If this returns true, then the // matching call to end() will indicate an error // (false). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 110 14 Dtool_5HfQ1vkq 6 106 538 0 14 Dtool_5HfQ1vkq 587 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_num_unpacked_bytes // Access: Published // Description: Returns the number of bytes that have been unpacked // so far, or after unpack_end(), the total number of // bytes that were unpacked at all. This can be used to // validate that all of the bytes in the buffer were // actually unpacked (which is not otherwise considered // an error). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 111 14 Dtool_5HfQt4l7 6 107 538 0 14 Dtool_5HfQt4l7 391 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_length // Access: Published // Description: Returns the current length of the buffer. This is // the number of useful bytes stored in the buffer, not // the amount of memory it takes up. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 112 14 Dtool_5HfQhK1P 6 108 503 0 14 Dtool_5HfQhK1P 302 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_string // Access: Published // Description: Returns the packed data buffer as a string. Also see // get_data(). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 113 14 Dtool_5HfQQvlm 6 109 538 0 14 Dtool_5HfQQvlm 471 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_unpack_length // Access: Published // Description: Returns the total number of bytes in the unpack data // buffer. This is the buffer used when unpacking; it // is separate from the pack data returned by // get_length(), which is filled during packing. //////////////////////////////////////////////////////////////////// 1 4 this 3 545 114 14 Dtool_5HfQKLVa 6 110 503 0 14 Dtool_5HfQKLVa 500 //////////////////////////////////////////////////////////////////// // Function: DCPacker::get_unpack_string // Access: Published // Description: Returns the unpack data buffer, as a string. // This is the buffer used when unpacking; it is // separate from the pack data returned by get_string(), // which is filled during packing. Also see // get_unpack_data(). //////////////////////////////////////////////////////////////////// 1 4 this 3 545 115 14 Dtool_5HfQMJrY 6 111 504 0 14 Dtool_5HfQMJrY 524 //////////////////////////////////////////////////////////////////// // Function: DCPacker::StackElement::get_num_stack_elements_ever_allocated // Access: Published, Static // Description: Returns the number of DCPacker::StackElement pointers // ever simultaneously allocated; these are now either // in active use or have been recycled into the deleted // DCPacker::StackElement pool to be used again. //////////////////////////////////////////////////////////////////// 0 116 14 Dtool_5HfQXuco 4 112 533 0 14 Dtool_5HfQXuco 296 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int8 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 504 117 14 Dtool_5HfQEvl1 4 113 533 0 14 Dtool_5HfQEvl1 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int16 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 504 118 14 Dtool_5HfQf5du 4 114 533 0 14 Dtool_5HfQf5du 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int32 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 504 119 14 Dtool_5HfQ02JY 4 115 533 0 14 Dtool_5HfQ02JY 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_int64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 548 120 14 Dtool_5HfQ2c6b 4 116 533 0 14 Dtool_5HfQ2c6b 297 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint8 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 538 121 14 Dtool_5HfQ_5sg 4 117 533 0 14 Dtool_5HfQ_5sg 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint16 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 538 122 14 Dtool_5HfQbFo8 4 118 533 0 14 Dtool_5HfQbFo8 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint32 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 538 123 14 Dtool_5HfQ1xJ4 4 119 533 0 14 Dtool_5HfQ1xJ4 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_uint64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 540 124 14 Dtool_5HfQrDF_ 4 120 533 0 14 Dtool_5HfQrDF_ 299 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_float64 // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 547 125 14 Dtool_5HfQojpx 4 121 533 0 14 Dtool_5HfQojpx 298 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_pack_string // Access: Published // Description: Packs the data into the buffer between packing // sessions. //////////////////////////////////////////////////////////////////// 2 4 this 3 534 5 value 1 503 126 14 Dtool_5HfQWVWD 6 122 504 0 14 Dtool_5HfQWVWD 302 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int8 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 127 14 Dtool_5HfQ30HM 6 123 504 0 14 Dtool_5HfQ30HM 303 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int16 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 128 14 Dtool_5HfQFltJ 6 124 504 0 14 Dtool_5HfQFltJ 303 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int32 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 129 14 Dtool_5HfQQ0_K 6 125 548 0 14 Dtool_5HfQQ0_K 303 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_int64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 130 14 Dtool_5HfQCUlV 6 126 538 0 14 Dtool_5HfQCUlV 303 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint8 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 131 14 Dtool_5HfQBK3t 6 127 538 0 14 Dtool_5HfQBK3t 304 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint16 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 132 14 Dtool_5HfQGD_g 6 128 538 0 14 Dtool_5HfQGD_g 304 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint32 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 133 14 Dtool_5HfQh02J 6 129 540 0 14 Dtool_5HfQh02J 304 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_uint64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 134 14 Dtool_5HfQ0uTr 6 130 547 0 14 Dtool_5HfQ0uTr 305 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_float64 // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 135 14 Dtool_5HfQiaAh 6 131 503 0 14 Dtool_5HfQiaAh 304 //////////////////////////////////////////////////////////////////// // Function: DCPacker::raw_unpack_string // Access: Published // Description: Unpacks the data from the buffer between unpacking // sessions. //////////////////////////////////////////////////////////////////// 1 4 this 3 534 136 14 Dtool_5HfQz9PJ 6 133 551 0 14 Dtool_5HfQz9PJ 241 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_simple_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 528 137 14 Dtool_5HfQGnt_ 6 133 552 0 14 Dtool_5HfQGnt_ 241 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_simple_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 529 138 14 Dtool_5HfQIgNV 6 134 554 0 14 Dtool_5HfQIgNV 240 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_array_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 528 139 14 Dtool_5HfQdS2O 6 134 555 0 14 Dtool_5HfQdS2O 240 //////////////////////////////////////////////////////////////////// // Function: DCParameter::as_array_parameter // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 529 140 14 Dtool_5HfQCNI1 6 135 528 0 14 Dtool_5HfQCNI1 0 1 4 this 3 529 141 14 Dtool_5HfQuxsw 6 136 515 0 14 Dtool_5HfQuxsw 0 1 4 this 3 529 142 14 Dtool_5HfQ1UHS 6 137 557 0 14 Dtool_5HfQ1UHS 383 //////////////////////////////////////////////////////////////////// // Function: DCParameter::get_typedef // Access: Published // Description: If this type has been referenced from a typedef, // returns the DCTypedef instance, or NULL if the // type was declared on-the-fly. //////////////////////////////////////////////////////////////////// 1 4 this 3 529 143 14 Dtool_5HfQAc1p 6 139 528 0 14 Dtool_5HfQAc1p 309 //////////////////////////////////////////////////////////////////// // Function: DCArrayParameter::get_element_type // Access: Published // Description: Returns the type of the individual elements of this // array. //////////////////////////////////////////////////////////////////// 1 4 this 3 555 144 14 Dtool_5HfQPdJT 6 140 504 0 14 Dtool_5HfQPdJT 379 //////////////////////////////////////////////////////////////////// // Function: DCArrayParameter::get_array_size // Access: Published // Description: Returns the fixed number of elements in this array, // or -1 if the array may contain a variable number of // elements. //////////////////////////////////////////////////////////////////// 1 4 this 3 555 145 14 Dtool_5HfQz94I 6 142 504 0 14 Dtool_5HfQz94I 312 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_num_elements // Access: Published // Description: Returns the number of elements (parameters) of the // atomic field. //////////////////////////////////////////////////////////////////// 1 4 this 3 523 146 14 Dtool_5HfQMXfe 6 143 528 0 14 Dtool_5HfQMXfe 299 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element // Access: Published // Description: Returns the parameter object describing the // nth element. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 147 14 Dtool_5HfQkDFi 6 144 503 0 14 Dtool_5HfQkDFi 790 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_default // Access: Published // Description: Returns the pre-formatted default value associated // with the nth element of the field. This is only // valid if has_element_default() returns true, in which // case this string represents the bytes that should be // assigned to the field as a default value. // // If the element is an array-type element, the returned // value will include the two-byte length preceding the // array data. // // This is deprecated; use get_element() instead. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 148 14 Dtool_5HfQjDfy 6 145 515 0 14 Dtool_5HfQjDfy 410 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::has_element_default // Access: Published // Description: Returns true if the nth element of the field has a // default value specified, false otherwise. // // This is deprecated; use get_element() instead. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 149 14 Dtool_5HfQKM_N 6 146 503 0 14 Dtool_5HfQKM_N 582 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_name // Access: Published // Description: Returns the name of the nth element of the field. // This name is strictly for documentary purposes; it // does not generally affect operation. If a name is // not specified, this will be the empty string. // // This method is deprecated; use // get_element()->get_name() instead. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 150 14 Dtool_5HfQwNXT 6 147 481 0 14 Dtool_5HfQwNXT 377 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_type // Access: Published // Description: Returns the numeric type of the nth element of the // field. This method is deprecated; use // get_element() instead. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 151 14 Dtool_5HfQ_HmD 6 148 504 0 14 Dtool_5HfQ_HmD 653 //////////////////////////////////////////////////////////////////// // Function: DCAtomicField::get_element_divisor // Access: Published // Description: Returns the divisor associated with the nth element // of the field. This implements an implicit // fixed-point system; floating-point values are to be // multiplied by this value before encoding into a // packet, and divided by this number after decoding. // // This method is deprecated; use // get_element()->get_divisor() instead. //////////////////////////////////////////////////////////////////// 2 4 this 3 523 1 n 1 504 152 14 Dtool_5HfQ9iGM 6 151 521 0 14 Dtool_5HfQ9iGM 232 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_class // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 559 153 14 Dtool_5HfQa4C4 6 151 562 0 14 Dtool_5HfQa4C4 232 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_class // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 560 154 14 Dtool_5HfQQXd6 6 152 564 0 14 Dtool_5HfQQXd6 233 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_switch // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 559 155 14 Dtool_5HfQE_84 6 152 565 0 14 Dtool_5HfQE_84 233 //////////////////////////////////////////////////////////////////// // Function: DCDeclaration::as_switch // Access: Published, Virtual // Description: //////////////////////////////////////////////////////////////////// 1 4 this 3 560 156 14 Dtool_5HfQ0qWE 4 153 533 0 14 Dtool_5HfQ0qWE 307 //////////////////////////////////////////////////////////////////// // Function : DCDeclaration::output // Access : Published, Virtual // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 2 4 this 3 560 3 out 1 531 157 14 Dtool_5HfQ5mxH 4 154 533 0 14 Dtool_5HfQ5mxH 292 //////////////////////////////////////////////////////////////////// // Function : DCDeclaration:: // Access : Published // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 3 4 this 3 560 3 out 1 531 12 indent_level 1 504 158 14 Dtool_5HfQbBzT 6 156 516 0 14 Dtool_5HfQbBzT 753 // Filename: dcClass.I // Created by: drose (15Sep04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCClass::get_dc_file // Access: Published // Description: Returns the DCFile object that contains the class. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 159 14 Dtool_5HfQBfkV 6 157 503 0 14 Dtool_5HfQBfkV 248 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_name // Access: Published // Description: Returns the name of this class. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 160 14 Dtool_5HfQ4r2k 6 158 504 0 14 Dtool_5HfQ4r2k 369 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_number // Access: Published // Description: Returns a unique index number associated with this // class. This is defined implicitly when the .dc // file(s) are read. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 161 14 Dtool_5HfQ5HeQ 6 159 504 0 14 Dtool_5HfQ5HeQ 301 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_parents // Access: Published // Description: Returns the number of base classes this class // inherits from. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 162 14 Dtool_5HfQlQkr 6 160 521 0 14 Dtool_5HfQlQkr 290 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_parent // Access: Published // Description: Returns the nth parent class this class inherits // from. //////////////////////////////////////////////////////////////////// 2 4 this 3 562 1 n 1 504 163 14 Dtool_5HfQMas6 6 161 515 0 14 Dtool_5HfQMas6 340 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_constructor // Access: Published // Description: Returns true if this class has a constructor method, // false if it just uses the default constructor. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 164 14 Dtool_5HfQlqaF 6 162 506 0 14 Dtool_5HfQlqaF 372 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_constructor // Access: Published // Description: Returns the constructor method for this class if it // is defined, or NULL if the class uses the default // constructor. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 165 14 Dtool_5HfQdQnw 6 163 504 0 14 Dtool_5HfQdQnw 322 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_fields // Access: Published // Description: Returns the number of fields defined directly in this // class, ignoring inheritance. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 166 14 Dtool_5HfQv5gR 6 164 506 0 14 Dtool_5HfQv5gR 428 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field // Access: Published // Description: Returns the nth field in the class. This is not // necessarily the field with index n; this is the nth // field defined in the class directly, ignoring // inheritance. //////////////////////////////////////////////////////////////////// 2 4 this 3 562 1 n 1 504 167 14 Dtool_5HfQcyie 6 165 506 0 14 Dtool_5HfQcyie 585 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field_by_name // Access: Published // Description: Returns a pointer to the DCField that shares the // indicated name. If the named field is not found in // the current class, the parent classes will be // searched, so the value returned may not actually be a // field within this class. Returns NULL if there is no // such field defined. //////////////////////////////////////////////////////////////////// 2 4 this 3 562 4 name 1 503 168 14 Dtool_5HfQyQK1 6 166 506 0 14 Dtool_5HfQyQK1 594 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_field_by_index // Access: Published // Description: Returns a pointer to the DCField that has the // indicated index number. If the numbered field is not // found in the current class, the parent classes will // be searched, so the value returned may not actually // be a field within this class. Returns NULL if there // is no such field defined. //////////////////////////////////////////////////////////////////// 2 4 this 3 562 12 index_number 1 504 169 14 Dtool_5HfQ_Xnu 6 167 504 0 14 Dtool_5HfQ_Xnu 338 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_num_inherited_fields // Access: Published // Description: Returns the total number of field fields defined in // this class and all ancestor classes. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 170 14 Dtool_5HfQlQ88 6 168 506 0 14 Dtool_5HfQlQ88 625 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_inherited_field // Access: Published // Description: Returns the nth field field in the class and all of // its ancestors. // // This *used* to be the same thing as // get_field_by_index(), back when the fields were // numbered sequentially within a class's inheritance // hierarchy. Now that fields have a globally unique // index number, this is no longer true. //////////////////////////////////////////////////////////////////// 2 4 this 3 562 1 n 1 504 171 14 Dtool_5HfQ1VbT 6 169 515 0 14 Dtool_5HfQ1VbT 379 //////////////////////////////////////////////////////////////////// // Function: DCClass::is_struct // Access: Published // Description: Returns true if the class has been identified with // the "struct" keyword in the dc file, false if it was // declared with "dclass". //////////////////////////////////////////////////////////////////// 1 4 this 3 562 172 14 Dtool_5HfQo9se 6 170 515 0 14 Dtool_5HfQo9se 524 //////////////////////////////////////////////////////////////////// // Function: DCClass::is_bogus_class // Access: Published // Description: Returns true if the class has been flagged as a bogus // class. This is set for classes that are generated by // the parser as placeholder for missing classes, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 173 14 Dtool_5HfQMnTL 6 171 515 0 14 Dtool_5HfQMnTL 446 //////////////////////////////////////////////////////////////////// // Function : DCClass::inherits_from_bogus_class // Access : Published // Description : Returns true if this class, or any class in the // inheritance heirarchy for this class, is a "bogus" // class--a forward reference to an as-yet-undefined // class. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 174 14 Dtool_5HfQ2Fc9 4 172 533 0 14 Dtool_5HfQ2Fc9 543 //////////////////////////////////////////////////////////////////// // Function: DCClass::start_generate // Access: Published // Description: Starts the PStats timer going on the "generate" task, // that is, marks the beginning of the process of // generating a new object, for the purposes of timing // this process. // // This should balance with a corresponding call to // stop_generate(). //////////////////////////////////////////////////////////////////// 1 4 this 3 521 175 14 Dtool_5HfQdkTw 4 173 533 0 14 Dtool_5HfQdkTw 365 //////////////////////////////////////////////////////////////////// // Function: DCClass::stop_generate // Access: Published // Description: Stops the PStats timer on the "generate" task. // This should balance with a preceding call to // start_generate(). //////////////////////////////////////////////////////////////////// 1 4 this 3 521 176 14 Dtool_5HfQuFQz 4 174 533 0 14 Dtool_5HfQuFQz 301 //////////////////////////////////////////////////////////////////// // Function : DCClass::output // Access : Published, Virtual // Description : Write a string representation of this instance to // . //////////////////////////////////////////////////////////////////// 2 4 this 3 562 3 out 1 531 177 14 Dtool_5HfQoeOv 6 175 515 0 14 Dtool_5HfQoeOv 333 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_class_def // Access: Published // Description: Returns true if the DCClass object has an associated // Python class definition, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 178 14 Dtool_5HfQnYZY 4 176 533 0 14 Dtool_5HfQnYZY 383 //////////////////////////////////////////////////////////////////// // Function: DCClass::set_class_def // Access: Published // Description: Sets the class object associated with this // DistributedClass. This object will be used to // construct new instances of the class. //////////////////////////////////////////////////////////////////// 2 4 this 3 521 9 class_def 1 535 179 14 Dtool_5HfQS395 6 177 535 0 14 Dtool_5HfQS395 388 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_class_def // Access: Published // Description: Returns the class object that was previously // associated with this DistributedClass. This will // return a new reference to the object. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 180 14 Dtool_5HfQ0eTp 6 178 515 0 14 Dtool_5HfQ0eTp 345 //////////////////////////////////////////////////////////////////// // Function: DCClass::has_owner_class_def // Access: Published // Description: Returns true if the DCClass object has an associated // Python owner class definition, false otherwise. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 181 14 Dtool_5HfQ3p5u 4 179 533 0 14 Dtool_5HfQ3p5u 401 //////////////////////////////////////////////////////////////////// // Function: DCClass::set_owner_class_def // Access: Published // Description: Sets the owner class object associated with this // DistributedClass. This object will be used to // construct new owner instances of the class. //////////////////////////////////////////////////////////////////// 2 4 this 3 521 15 owner_class_def 1 535 182 14 Dtool_5HfQ_0C0 6 180 535 0 14 Dtool_5HfQ_0C0 400 //////////////////////////////////////////////////////////////////// // Function: DCClass::get_owner_class_def // Access: Published // Description: Returns the owner class object that was previously // associated with this DistributedClass. This will // return a new reference to the object. //////////////////////////////////////////////////////////////////// 1 4 this 3 562 183 14 Dtool_5HfQQPjh 4 181 533 0 14 Dtool_5HfQQPjh 376 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update // Access: Published // Description: Extracts the update message out of the packer and // applies it to the indicated object by calling the // appropriate method. //////////////////////////////////////////////////////////////////// 3 4 this 3 562 7 distobj 1 535 2 di 1 567 184 14 Dtool_5HfQLA_2 4 182 533 0 14 Dtool_5HfQLA_2 500 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_broadcast_required // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent along with a normal // "generate with required" message. This is all of the // atomic fields that are marked "broadcast required". //////////////////////////////////////////////////////////////////// 3 4 this 3 562 7 distobj 1 535 2 di 1 567 185 14 Dtool_5HfQHOff 4 183 533 0 14 Dtool_5HfQHOff 563 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_broadcast_required_owner // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent along with a normal // "generate with required" message. This is all of the // atomic fields that are marked "broadcast ownrecv". Should // be used for 'owner-view' objects. //////////////////////////////////////////////////////////////////// 3 4 this 3 562 7 distobj 1 535 2 di 1 567 186 14 Dtool_5HfQkwBe 4 184 533 0 14 Dtool_5HfQkwBe 492 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_all_required // Access: Published // Description: Processes a big datagram that includes all of the // "required" fields that are sent when an avatar is // created. This is all of the atomic fields that are // marked "required", whether they are broadcast or not. //////////////////////////////////////////////////////////////////// 3 4 this 3 562 7 distobj 1 535 2 di 1 567 187 14 Dtool_5HfQ5Jl7 4 185 533 0 14 Dtool_5HfQ5Jl7 333 //////////////////////////////////////////////////////////////////// // Function: DCClass::receive_update_other // Access: Published // Description: Processes a datagram that lists some additional // fields that are broadcast in one chunk. //////////////////////////////////////////////////////////////////// 3 4 this 3 562 7 distobj 1 535 2 di 1 567 188 14 Dtool_5HfQTp_A 4 186 533 0 14 Dtool_5HfQTp_A 300 //////////////////////////////////////////////////////////////////// // Function: DCClass::direct_update // Access: Published // Description: Processes an update for a named field from a packed // datagram. //////////////////////////////////////////////////////////////////// 4 4 this 3 521 7 distobj 1 535 10 field_name 1 503 8 datagram 1 569 189 14 Dtool_5HfQx5ko 4 186 533 0 14 Dtool_5HfQx5ko 302 //////////////////////////////////////////////////////////////////// // Function: DCClass::direct_update // Access: Published // Description: Processes an update for a named field from a packed // value blob. //////////////////////////////////////////////////////////////////// 4 4 this 3 521 7 distobj 1 535 10 field_name 1 503 10 value_blob 1 503 190 14 Dtool_5HfQQSyU 6 187 515 0 14 Dtool_5HfQQSyU 663 //////////////////////////////////////////////////////////////////// // Function: DCClass::pack_required_field // Access: Published // Description: Looks up the current value of the indicated field by // calling the appropriate get*() function, then packs // that value into the packer. This field is // presumably either a required field or a specified // optional field, and we are building up a datagram for // the generate-with-required message. // // Returns true on success, false on failure. //////////////////////////////////////////////////////////////////// 4 4 this 3 562 6 packer 1 534 7 distobj 1 535 5 field 1 507 191 14 Dtool_5HfQAQnH 6 187 515 0 14 Dtool_5HfQAQnH 665 //////////////////////////////////////////////////////////////////// // Function: DCClass::pack_required_field // Access: Published // Description: Looks up the current value of the indicated field by // calling the appropriate get*() function, then packs // that value into the datagram. This field is // presumably either a required field or a specified // optional field, and we are building up a datagram for // the generate-with-required message. // // Returns true on success, false on failure. //////////////////////////////////////////////////////////////////// 4 4 this 3 562 8 datagram 1 539 7 distobj 1 535 5 field 1 507 192 14 Dtool_5HfQl72J 7 188 539 0 14 Dtool_5HfQl72J 388 //////////////////////////////////////////////////////////////////// // Function: DCClass::client_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the client. //////////////////////////////////////////////////////////////////// 4 4 this 3 562 10 field_name 1 503 5 do_id 1 538 4 args 1 535 193 14 Dtool_5HfQXxSU 7 189 539 0 14 Dtool_5HfQXxSU 380 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_update // Access: Published // Description: Generates a datagram containing the message necessary // to send an update for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 6 4 this 3 562 10 field_name 1 503 5 do_id 1 538 5 to_id 1 540 7 from_id 1 540 4 args 1 535 194 14 Dtool_5HfQ_Eiu 7 190 539 0 14 Dtool_5HfQ_Eiu 436 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_update_msg_type // Access: Published // Description: Generates a datagram containing the message necessary // to send an update, using the indicated msg type // for the indicated distributed // object from the AI. //////////////////////////////////////////////////////////////////// 7 4 this 3 562 10 field_name 1 503 5 do_id 1 538 5 to_id 1 540 7 from_id 1 540 8 msg_type 1 504 4 args 1 535 195 14 Dtool_5HfQsOMz 7 191 539 0 14 Dtool_5HfQsOMz 593 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_format_generate // Access: Published // Description: Generates a datagram containing the message necessary // to generate a new distributed object from the AI. // This requires querying the object for the initial // value of its required fields. // // optional_fields is a list of fieldNames to generate // in addition to the normal required fields. //////////////////////////////////////////////////////////////////// 8 4 this 3 562 7 distobj 1 535 5 do_id 1 538 9 parent_id 1 538 7 zone_id 1 538 19 district_channel_id 1 540 15 from_channel_id 1 540 15 optional_fields 1 535 196 14 Dtool_5HfQXnoc 7 192 539 0 14 Dtool_5HfQXnoc 679 //////////////////////////////////////////////////////////////////// // Function: DCClass::client_format_generate_CMU // Access: Published // Description: Generates a datagram containing the message necessary // to generate a new distributed object from the client. // This requires querying the object for the initial // value of its required fields. // // optional_fields is a list of fieldNames to generate // in addition to the normal required fields. // // This method is only called by the CMU implementation. //////////////////////////////////////////////////////////////////// 5 4 this 3 562 7 distobj 1 535 5 do_id 1 538 7 zone_id 1 538 15 optional_fields 1 535 197 14 Dtool_5HfQV0re 7 193 539 0 14 Dtool_5HfQV0re 483 //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_database_generate_context // Access: Published // Description: Generates a datagram containing the message necessary // to create a new database distributed object from the AI. // // First Pass is to only incldue required values // (with Defaults). //////////////////////////////////////////////////////////////////// 7 4 this 3 562 10 context_id 1 538 9 parent_id 1 538 7 zone_id 1 538 13 owner_channel 1 540 18 database_server_id 1 540 15 from_channel_id 1 540 198 14 Dtool_5HfQcPr9 7 194 539 0 14 Dtool_5HfQcPr9 559 // TODO: remove this once Skyler has things working with the new server //////////////////////////////////////////////////////////////////// // Function: DCClass::ai_database_generate_context_old // Access: Published // Description: Generates a datagram containing the message necessary // to create a new database distributed object from the AI. // // First Pass is to only incldue required values // (with Defaults). //////////////////////////////////////////////////////////////////// 6 4 this 3 562 10 context_id 1 538 9 parent_id 1 538 7 zone_id 1 538 18 database_server_id 1 540 15 from_channel_id 1 540 199 14 Dtool_5HfQVeMy 6 196 562 0 14 Dtool_5HfQVeMy 278 //////////////////////////////////////////////////////////////////// // Function: DCClassParameter::get_class // Access: Published // Description: Returns the class object this parameter represents. //////////////////////////////////////////////////////////////////// 1 4 this 3 513 200 14 Dtool_5HfQM0cB 7 199 516 433 14 Dtool_5HfQM0cB 218 //////////////////////////////////////////////////////////////////// // Function: DCFile::Constructor // Access: Published // Description: //////////////////////////////////////////////////////////////////// 0 201 14 Dtool_5HfQ3Phn 4 201 533 0 14 Dtool_5HfQ3Phn 322 //////////////////////////////////////////////////////////////////// // Function: DCFile::clear // Access: Published // Description: Removes all of the classes defined within the DCFile // and prepares it for reading a new file. //////////////////////////////////////////////////////////////////// 1 4 this 3 516 202 14 Dtool_5HfQcUOF 6 202 515 0 14 Dtool_5HfQcUOF 382 //////////////////////////////////////////////////////////////////// // Function: DCFile::read_all // Access: Published // Description: This special method reads all of the .dc files named // by the "dc-file" config.prc variable, and loads them // into the DCFile namespace. //////////////////////////////////////////////////////////////////// 1 4 this 3 516 203 14 Dtool_5HfQEDwK 6 203 515 0 14 Dtool_5HfQEDwK 634 // WITHIN_PANDA //////////////////////////////////////////////////////////////////// // Function: DCFile::read // Access: Published // Description: Opens and reads the indicated .dc file by name. The // distributed classes defined in the file will be // appended to the set of distributed classes already // recorded, if any. // // Returns true if the file is successfully read, false // if there was an error (in which case the file might // have been partially read). //////////////////////////////////////////////////////////////////// 2 4 this 3 516 8 filename 1 571 204 14 Dtool_5HfQRI_H 6 203 515 0 14 Dtool_5HfQRI_H 774 //////////////////////////////////////////////////////////////////// // Function: DCFile::read // Access: Published // Description: Parses the already-opened input stream for // distributed class descriptions. The filename // parameter is optional and is only used when reporting // errors. // // The distributed classes defined in the file will be // appended to the set of distributed classes already // recorded, if any. // // Returns true if the file is successfully read, false // if there was an error (in which case the file might // have been partially read). //////////////////////////////////////////////////////////////////// 3 4 this 3 516 2 in 1 549 8 filename 1 503 205 14 Dtool_5HfQtrn_ 6 203 515 0 14 Dtool_5HfQtrn_ 774 //////////////////////////////////////////////////////////////////// // Function: DCFile::read // Access: Published // Description: Parses the already-opened input stream for // distributed class descriptions. The filename // parameter is optional and is only used when reporting // errors. // // The distributed classes defined in the file will be // appended to the set of distributed classes already // recorded, if any. // // Returns true if the file is successfully read, false // if there was an error (in which case the file might // have been partially read). //////////////////////////////////////////////////////////////////// 2 4 this 3 516 2 in 1 549 206 14 Dtool_5HfQIISH 6 204 515 0 14 Dtool_5HfQIISH 482 //////////////////////////////////////////////////////////////////// // Function: DCFile::write // Access: Published // Description: Opens the indicated filename for output and writes a // parseable description of all the known distributed // classes to the file. // // Returns true if the description is successfully // written, false otherwise. //////////////////////////////////////////////////////////////////// 3 4 this 3 573 8 filename 1 571 5 brief 1 515 207 14 Dtool_5HfQ4v0f 6 204 515 0 14 Dtool_5HfQ4v0f 423 //////////////////////////////////////////////////////////////////// // Function: DCFile::write // Access: Published // Description: Writes a parseable description of all the known // distributed classes to the stream. // // Returns true if the description is successfully // written, false otherwise. //////////////////////////////////////////////////////////////////// 3 4 this 3 573 3 out 1 531 5 brief 1 515 208 14 Dtool_5HfQ4S8N 6 205 504 0 14 Dtool_5HfQ4S8N 296 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_classes // Access: Published // Description: Returns the number of classes read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 1 4 this 3 573 209 14 Dtool_5HfQEYUl 6 206 521 0 14 Dtool_5HfQEYUl 265 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_class // Access: Published // Description: Returns the nth class read from the .dc file(s). //////////////////////////////////////////////////////////////////// 2 4 this 3 573 1 n 1 504 210 14 Dtool_5HfQ_5op 6 207 521 0 14 Dtool_5HfQ_5op 323 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_class_by_name // Access: Published // Description: Returns the class that has the indicated name, or // NULL if there is no such class. //////////////////////////////////////////////////////////////////// 2 4 this 3 573 4 name 1 503 211 14 Dtool_5HfQSm8d 6 208 564 0 14 Dtool_5HfQSm8d 326 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_switch_by_name // Access: Published // Description: Returns the switch that has the indicated name, or // NULL if there is no such switch. //////////////////////////////////////////////////////////////////// 2 4 this 3 573 4 name 1 503 212 14 Dtool_5HfQ_R7T 6 209 506 0 14 Dtool_5HfQ_R7T 667 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_field_by_index // Access: Published, Static // Description: Returns a pointer to the one DCField that has the // indicated index number, of all the DCFields across // all classes in the file. // // This method is only valid if dc-multiple-inheritance // is set true in the Config.prc file. Without this // setting, different DCFields may share the same index // number, so this global lookup is not possible. //////////////////////////////////////////////////////////////////// 2 4 this 3 573 12 index_number 1 504 213 14 Dtool_5HfQuN3i 6 210 515 0 14 Dtool_5HfQuN3i 949 // Filename: dcFile.I // Created by: drose (10Jan06) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: DCFile::all_objects_valid // Access: Published // Description: Returns true if all of the classes read from the DC // file were defined and valid, or false if any of them // were undefined ("bogus classes"). If this is true, // we might have read a partial file. //////////////////////////////////////////////////////////////////// 1 4 this 3 573 214 14 Dtool_5HfQyf1h 6 211 504 0 14 Dtool_5HfQyf1h 308 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_import_modules // Access: Published // Description: Returns the number of import lines read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 1 4 this 3 573 215 14 Dtool_5HfQ7Jiy 6 212 503 0 14 Dtool_5HfQ7Jiy 316 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_import_module // Access: Published // Description: Returns the module named by the nth import line read // from the .dc file(s). //////////////////////////////////////////////////////////////////// 2 4 this 3 573 1 n 1 504 216 14 Dtool_5HfQJagU 6 213 504 0 14 Dtool_5HfQJagU 482 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_import_symbols // Access: Published // Description: Returns the number of symbols explicitly imported by // the nth import line. If this is 0, the line is // "import modulename"; if it is more than 0, the line // is "from modulename import symbol, symbol ... ". //////////////////////////////////////////////////////////////////// 2 4 this 3 573 1 n 1 504 217 14 Dtool_5HfQNoCv 6 214 503 0 14 Dtool_5HfQNoCv 320 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_import_symbol // Access: Published // Description: Returns the ith symbol named by the nth import line // read from the .dc file(s). //////////////////////////////////////////////////////////////////// 3 4 this 3 573 1 n 1 504 1 i 1 504 218 14 Dtool_5HfQyp_b 6 215 504 0 14 Dtool_5HfQyp_b 298 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_typedefs // Access: Published // Description: Returns the number of typedefs read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 1 4 this 3 573 219 14 Dtool_5HfQqgG_ 6 216 575 0 14 Dtool_5HfQqgG_ 269 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_typedef // Access: Published // Description: Returns the nth typedef read from the .dc file(s). //////////////////////////////////////////////////////////////////// 2 4 this 3 573 1 n 1 504 220 14 Dtool_5HfQN8xh 6 217 575 0 14 Dtool_5HfQN8xh 334 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_typedef_by_name // Access: Published // Description: Returns the typedef that has the indicated name, or // NULL if there is no such typedef name. //////////////////////////////////////////////////////////////////// 2 4 this 3 573 4 name 1 503 221 14 Dtool_5HfQJlRM 6 218 504 0 14 Dtool_5HfQJlRM 298 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_num_keywords // Access: Published // Description: Returns the number of keywords read from the .dc // file(s). //////////////////////////////////////////////////////////////////// 1 4 this 3 573 222 14 Dtool_5HfQZmcD 6 219 519 0 14 Dtool_5HfQZmcD 269 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_keyword // Access: Published // Description: Returns the nth keyword read from the .dc file(s). //////////////////////////////////////////////////////////////////// 2 4 this 3 573 1 n 1 504 223 14 Dtool_5HfQ96Hm 6 220 519 0 14 Dtool_5HfQ96Hm 334 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_keyword_by_name // Access: Published // Description: Returns the keyword that has the indicated name, or // NULL if there is no such keyword name. //////////////////////////////////////////////////////////////////// 2 4 this 3 573 4 name 1 503 224 14 Dtool_5HfQXMzc 6 221 576 0 14 Dtool_5HfQXMzc 505 //////////////////////////////////////////////////////////////////// // Function: DCFile::get_hash // Access: Published // Description: Returns a 32-bit hash index associated with this // file. This number is guaranteed to be consistent if // the contents of the file have not changed, and it is // very likely to be different if the contents of the // file do change. //////////////////////////////////////////////////////////////////// 1 4 this 3 573 225 14 Dtool_5HfQhXRr 6 223 503 0 14 Dtool_5HfQhXRr 252 //////////////////////////////////////////////////////////////////// // Function: DCKeyword::get_name // Access: Published // Description: Returns the name of this keyword. //////////////////////////////////////////////////////////////////// 1 4 this 3 519 226 14 Dtool_5HfQ9TYG 6 225 504 0 14 Dtool_5HfQ9TYG 320 //////////////////////////////////////////////////////////////////// // Function: DCMolecularField::get_num_atomics // Access: Published // Description: Returns the number of atomic fields that make up this // molecular field. //////////////////////////////////////////////////////////////////// 1 4 this 3 526 227 14 Dtool_5HfQKxjf 6 226 522 0 14 Dtool_5HfQKxjf 440 //////////////////////////////////////////////////////////////////// // Function: DCMolecularField::get_atomic // Access: Published // Description: Returns the nth atomic field that makes up this // molecular field. This may or may not be a field of // this particular class; it might be defined in a // parent class. //////////////////////////////////////////////////////////////////// 2 4 this 3 526 1 n 1 504 228 14 Dtool_5HfQdLgm 6 229 481 0 14 Dtool_5HfQdLgm 311 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_type // Access: Published // Description: Returns the particular subatomic type represented by // this instance. //////////////////////////////////////////////////////////////////// 1 4 this 3 552 229 14 Dtool_5HfQL3kT 6 230 515 0 14 Dtool_5HfQL3kT 311 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::has_modulus // Access: Published // Description: Returns true if there is a modulus associated, false // otherwise., //////////////////////////////////////////////////////////////////// 1 4 this 3 552 230 14 Dtool_5HfQ_9h_ 6 231 547 0 14 Dtool_5HfQ_9h_ 564 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_modulus // Access: Published // Description: Returns the modulus associated with this type, if // any. It is an error to call this if has_modulus() // returned false. // // If present, this is the modulus that is used to // constrain the numeric value of the field before it is // packed (and range-checked). //////////////////////////////////////////////////////////////////// 1 4 this 3 552 231 14 Dtool_5HfQBZIP 6 232 504 0 14 Dtool_5HfQBZIP 588 //////////////////////////////////////////////////////////////////// // Function: DCSimpleParameter::get_divisor // Access: Published // Description: Returns the divisor associated with this type. This // is 1 by default, but if this is other than one it // represents the scale to apply when packing and // unpacking numeric values (to store fixed-point values // in an integer field). It is only meaningful for // numeric-type fields. //////////////////////////////////////////////////////////////////// 1 4 this 3 552 232 14 Dtool_5HfQ5_NH 6 235 503 0 14 Dtool_5HfQ5_NH 250 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_name // Access: Published // Description: Returns the name of this switch. //////////////////////////////////////////////////////////////////// 1 4 this 3 565 233 14 Dtool_5HfQXw_6 6 236 506 0 14 Dtool_5HfQXw_6 450 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_key_parameter // Access: Published // Description: Returns the key parameter on which the switch is // based. The value of this parameter in the record // determines which one of the several cases within the // switch will be used. //////////////////////////////////////////////////////////////////// 1 4 this 3 565 234 14 Dtool_5HfQeUzc 6 237 504 0 14 Dtool_5HfQeUzc 383 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_cases // Access: Published // Description: Returns the number of different cases within the // switch. The legal values for case_index range from 0 // to get_num_cases() - 1. //////////////////////////////////////////////////////////////////// 1 4 this 3 565 235 14 Dtool_5HfQ0ls8 6 238 504 0 14 Dtool_5HfQ0ls8 363 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_case_by_value // Access: Published // Description: Returns the index number of the case with the // indicated packed value, or -1 if no case has this // value. //////////////////////////////////////////////////////////////////// 2 4 this 3 565 10 case_value 1 503 236 14 Dtool_5HfQt2ll 6 239 505 0 14 Dtool_5HfQt2ll 272 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_case // Access: Published // Description: Returns the DCPackerInterface that packs the nth case. //////////////////////////////////////////////////////////////////// 2 4 this 3 565 1 n 1 504 237 14 Dtool_5HfQRFXc 6 240 505 0 14 Dtool_5HfQRFXc 338 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_default_case // Access: Published // Description: Returns the DCPackerInterface that packs the default // case, or NULL if there is no default case. //////////////////////////////////////////////////////////////////// 1 4 this 3 565 238 14 Dtool_5HfQTRGr 6 241 503 0 14 Dtool_5HfQTRGr 296 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_value // Access: Published // Description: Returns the packed value associated with the // indicated case. //////////////////////////////////////////////////////////////////// 2 4 this 3 565 10 case_index 1 504 239 14 Dtool_5HfQlF1x 6 242 504 0 14 Dtool_5HfQlF1x 275 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_fields // Access: Published // Description: Returns the number of fields in the indicated case. //////////////////////////////////////////////////////////////////// 2 4 this 3 565 10 case_index 1 504 240 14 Dtool_5HfQJzsC 6 243 506 0 14 Dtool_5HfQJzsC 268 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_num_fields // Access: Published // Description: Returns the nth field in the indicated case. //////////////////////////////////////////////////////////////////// 3 4 this 3 565 10 case_index 1 504 1 n 1 504 241 14 Dtool_5HfQwD_J 6 244 506 0 14 Dtool_5HfQwD_J 341 //////////////////////////////////////////////////////////////////// // Function: DCSwitch::get_field_by_name // Access: Published // Description: Returns the field with the given name from the // indicated case, or NULL if no field has this name. //////////////////////////////////////////////////////////////////// 3 4 this 3 565 10 case_index 1 504 4 name 1 503 242 14 Dtool_5HfQHIRd 6 246 565 0 14 Dtool_5HfQHIRd 281 //////////////////////////////////////////////////////////////////// // Function: DCSwitchParameter::get_switch // Access: Published // Description: Returns the switch object this parameter represents. //////////////////////////////////////////////////////////////////// 1 4 this 3 510 243 14 Dtool_5HfQ3FUN 6 249 504 0 14 Dtool_5HfQ3FUN 384 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_number // Access: Published // Description: Returns a unique index number associated with this // typedef definition. This is defined implicitly when // the .dc file(s) are read. //////////////////////////////////////////////////////////////////// 1 4 this 3 557 244 14 Dtool_5HfQVrMq 6 250 503 0 14 Dtool_5HfQVrMq 252 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_name // Access: Published // Description: Returns the name of this typedef. //////////////////////////////////////////////////////////////////// 1 4 this 3 557 245 14 Dtool_5HfQnZ2F 6 251 503 0 14 Dtool_5HfQnZ2F 315 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::get_description // Access: Published // Description: Returns a brief decription of the typedef, useful for // human consumption. //////////////////////////////////////////////////////////////////// 1 4 this 3 557 246 14 Dtool_5HfQnwBq 6 252 515 0 14 Dtool_5HfQnwBq 531 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::is_bogus_typedef // Access: Public // Description: Returns true if the typedef has been flagged as a bogus // typedef. This is set for typedefs that are generated by // the parser as placeholder for missing typedefs, as // when reading a partial file; it should not occur in a // normal valid dc file. //////////////////////////////////////////////////////////////////// 1 4 this 3 557 247 14 Dtool_5HfQ3UT1 6 253 515 0 14 Dtool_5HfQ3UT1 404 //////////////////////////////////////////////////////////////////// // Function: DCTypedef::is_implicit_typedef // Access: Public // Description: Returns true if the typedef has been flagged as an // implicit typedef, meaning it was created for a // DCClass that was referenced inline as a type. //////////////////////////////////////////////////////////////////// 1 4 this 3 557 97 481 15 DCSubatomicType 532481 15 DCSubatomicType 15 DCSubatomicType 0 0 0 0 0 0 0 0 0 0 21 7 ST_int8 7 ST_int8 0 8 ST_int16 8 ST_int16 1 8 ST_int32 8 ST_int32 2 8 ST_int64 8 ST_int64 3 8 ST_uint8 8 ST_uint8 4 9 ST_uint16 9 ST_uint16 5 9 ST_uint32 9 ST_uint32 6 9 ST_uint64 9 ST_uint64 7 10 ST_float64 10 ST_float64 8 9 ST_string 9 ST_string 9 7 ST_blob 7 ST_blob 10 9 ST_blob32 9 ST_blob32 11 13 ST_int16array 13 ST_int16array 12 13 ST_int32array 13 ST_int32array 13 14 ST_uint16array 14 ST_uint16array 14 14 ST_uint32array 14 ST_uint32array 15 12 ST_int8array 12 ST_int8array 16 13 ST_uint8array 13 ST_uint8array 17 19 ST_uint32uint8array 19 ST_uint32uint8array 18 7 ST_char 7 ST_char 19 10 ST_invalid 10 ST_invalid 20 0 410 //////////////////////////////////////////////////////////////////// // Enum : DCSubatomicType // Description : This defines the numeric type of each element of a // DCAtomicField; that is, the particular values that // will get added to the message when the atomic field // method is called. //////////////////////////////////////////////////////////////////// 482 10 DCPackType 532481 10 DCPackType 10 DCPackType 0 0 0 0 0 0 0 0 0 0 12 10 PT_invalid 10 PT_invalid 0 9 PT_double 9 PT_double 1 6 PT_int 6 PT_int 2 7 PT_uint 7 PT_uint 3 8 PT_int64 8 PT_int64 4 9 PT_uint64 9 PT_uint64 5 9 PT_string 9 PT_string 6 7 PT_blob 7 PT_blob 7 8 PT_array 8 PT_array 8 8 PT_field 8 PT_field 9 8 PT_class 8 PT_class 10 9 PT_switch 9 PT_switch 11 0 137 // This enumerated type is returned by get_pack_type() and represents // the best choice for a subsequent call to pack_*() or unpack_*(). 483 17 DCPackerInterface 26625 17 DCPackerInterface 17 DCPackerInterface 0 0 0 0 248 0 6 249 250 251 252 253 254 0 0 0 0 0 514 //////////////////////////////////////////////////////////////////// // Class : DCPackerInterface // Description : This defines the internal interface for packing // values into a DCField. The various different DC // objects inherit from this. // // Normally these methods are called only by the // DCPacker object; the user wouldn't normally call // these directly. //////////////////////////////////////////////////////////////////// 484 13 DCKeywordList 26625 13 DCKeywordList 13 DCKeywordList 0 0 0 0 255 0 5 256 257 258 259 260 0 0 0 0 0 284 //////////////////////////////////////////////////////////////////// // Class : DCKeywordList // Description : This is a list of keywords (see DCKeyword) that may // be set on a particular field. //////////////////////////////////////////////////////////////////// 485 7 DCField 26625 7 DCField 7 DCField 0 0 0 0 265 0 29 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 0 0 2 3 483 261 262 3 484 263 264 0 0 263 //////////////////////////////////////////////////////////////////// // Class : DCField // Description : A single field of a Distributed Class, either atomic // or molecular. //////////////////////////////////////////////////////////////////// 486 10 DCPackData 26625 10 DCPackData 10 DCPackData 0 0 0 1 295 296 0 3 297 298 299 0 0 0 0 0 262 //////////////////////////////////////////////////////////////////// // Class : DCPackData // Description : This is a block of data that receives the results of // DCPacker. //////////////////////////////////////////////////////////////////// 487 8 DCPacker 26625 8 DCPacker 8 DCPacker 0 0 0 1 300 301 0 70 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 0 0 0 0 0 499 //////////////////////////////////////////////////////////////////// // Class : DCPacker // Description : This class can be used for packing a series of // numeric and string data into a binary stream, // according to the DC specification. // // See also direct/src/doc/dcPacker.txt for a more // complete description and examples of using this // class. //////////////////////////////////////////////////////////////////// 488 11 DCParameter 75777 11 DCParameter 11 DCParameter 0 0 0 0 265 0 5 372 373 374 375 376 0 0 1 0 485 0 0 0 0 577 //////////////////////////////////////////////////////////////////// // Class : DCParameter // Description : Represents the type specification for a single // parameter within a field specification. This may be // a simple type, or it may be a class or an array // reference. // // This may also be a typedef reference to another type, // which has the same properties as the referenced type, // but a different name. //////////////////////////////////////////////////////////////////// 489 16 DCArrayParameter 75777 16 DCArrayParameter 16 DCArrayParameter 0 0 0 0 265 0 2 377 378 0 0 1 0 488 0 0 0 0 423 //////////////////////////////////////////////////////////////////// // Class : DCArrayParameter // Description : This represents an array of some other kind of // object, meaning this parameter type accepts an // arbitrary (or possibly fixed) number of nested // fields, all of which are of the same type. //////////////////////////////////////////////////////////////////// 490 13 DCAtomicField 75777 13 DCAtomicField 13 DCAtomicField 0 0 0 0 265 0 7 379 380 381 382 383 384 385 0 0 1 0 485 0 0 0 0 0 491 13 DCDeclaration 26625 13 DCDeclaration 13 DCDeclaration 0 0 0 0 386 0 4 387 388 389 390 0 0 0 0 0 634 //////////////////////////////////////////////////////////////////// // Class : DCDeclaration // Description : This is a common interface for a declaration in a DC // file. Currently, this is either a class or a typedef // declaration (import declarations are still collected // together at the top, and don't inherit from this // object). Its only purpose is so that classes and // typedefs can be stored in one list together so they // can be ordered correctly on output. //////////////////////////////////////////////////////////////////// 492 7 DCClass 75777 7 DCClass 7 DCClass 0 0 0 0 386 0 39 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 0 0 1 0 491 0 0 0 0 266 //////////////////////////////////////////////////////////////////// // Class : DCClass // Description : Defines a particular DistributedClass as read from an // input .dc file. //////////////////////////////////////////////////////////////////// 493 16 DCClassParameter 141313 16 DCClassParameter 16 DCClassParameter 0 0 0 0 431 0 1 430 0 0 1 0 488 0 0 0 0 367 //////////////////////////////////////////////////////////////////// // Class : DCClassParameter // Description : This represents a class (or struct) object used as a // parameter itself. This means that all the fields of // the class get packed into the message. //////////////////////////////////////////////////////////////////// 494 6 DCFile 26625 6 DCFile 6 DCFile 0 0 0 1 432 433 0 21 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 0 0 0 0 0 283 //////////////////////////////////////////////////////////////////// // Class : DCFile // Description : Represents the complete list of Distributed Class // descriptions as read from a .dc file. //////////////////////////////////////////////////////////////////// 495 9 DCKeyword 75777 9 DCKeyword 9 DCKeyword 0 0 0 0 386 0 1 455 0 0 1 0 491 0 0 0 0 403 //////////////////////////////////////////////////////////////////// // Class : DCKeyword // Description : This represents a single keyword declaration in the // dc file. It is used to define a communication // property associated with a field, for instance // "broadcast" or "airecv". //////////////////////////////////////////////////////////////////// 496 16 DCMolecularField 141313 16 DCMolecularField 16 DCMolecularField 0 0 0 0 458 0 2 456 457 0 0 1 0 485 0 0 0 0 420 //////////////////////////////////////////////////////////////////// // Class : DCMolecularField // Description : A single molecular field of a Distributed Class, as // read from a .dc file. This represents a combination // of two or more related atomic fields, that will often // be treated as a unit. //////////////////////////////////////////////////////////////////// 497 17 DCSimpleParameter 141313 17 DCSimpleParameter 17 DCSimpleParameter 0 0 0 0 463 0 4 459 460 461 462 0 0 1 0 488 0 0 0 0 537 //////////////////////////////////////////////////////////////////// // Class : DCSimpleParameter // Description : This is the most fundamental kind of parameter type: // a single number or string, one of the DCSubatomicType // elements. It may also optionally have a divisor, // which is meaningful only for the numeric type // elements (and represents a fixed-point numeric // convention). //////////////////////////////////////////////////////////////////// 498 8 DCSwitch 75777 8 DCSwitch 8 DCSwitch 0 0 0 0 386 0 10 464 465 466 467 468 469 470 471 472 473 0 0 1 0 491 0 0 0 0 392 //////////////////////////////////////////////////////////////////// // Class : DCSwitch // Description : This represents a switch statement, which can appear // inside a class body and represents two or more // alternative unpacking schemes based on the first // field read. //////////////////////////////////////////////////////////////////// 499 17 DCSwitchParameter 141313 17 DCSwitchParameter 17 DCSwitchParameter 0 0 0 0 475 0 1 474 0 0 1 0 488 0 0 0 0 350 //////////////////////////////////////////////////////////////////// // Class : DCSwitchParameter // Description : This represents a switch object used as a // parameter itself, which packs the appropriate fields // of the switch into the message. //////////////////////////////////////////////////////////////////// 500 9 DCTypedef 75777 9 DCTypedef 9 DCTypedef 0 0 0 0 386 0 5 476 477 478 479 480 0 0 1 0 491 0 0 0 0 344 //////////////////////////////////////////////////////////////////// // Class : DCTypedef // Description : This represents a single typedef declaration in the // dc file. It assigns a particular type to a new name, // just like a C typedef. //////////////////////////////////////////////////////////////////// 501 25 DCPackerInterface const * 8576 25 DCPackerInterface const * 25 DCPackerInterface const * 0 0 502 0 0 0 0 0 0 0 0 0 0 502 23 DCPackerInterface const 8832 23 DCPackerInterface const 23 DCPackerInterface const 0 0 483 0 0 0 0 0 0 0 0 0 0 503 13 atomic string 2 13 atomic string 13 atomic string 0 7 0 0 0 0 0 0 0 0 0 0 0 504 3 int 8194 3 int 3 int 0 1 0 0 0 0 0 0 0 0 0 0 0 505 19 DCPackerInterface * 8576 19 DCPackerInterface * 19 DCPackerInterface * 0 0 483 0 0 0 0 0 0 0 0 0 0 506 9 DCField * 8576 9 DCField * 9 DCField * 0 0 485 0 0 0 0 0 0 0 0 0 0 507 15 DCField const * 8576 15 DCField const * 15 DCField const * 0 0 508 0 0 0 0 0 0 0 0 0 0 508 13 DCField const 8832 13 DCField const 13 DCField const 0 0 485 0 0 0 0 0 0 0 0 0 0 509 19 DCSwitchParameter * 8576 19 DCSwitchParameter * 19 DCSwitchParameter * 0 0 499 0 0 0 0 0 0 0 0 0 0 510 25 DCSwitchParameter const * 8576 25 DCSwitchParameter const * 25 DCSwitchParameter const * 0 0 511 0 0 0 0 0 0 0 0 0 0 511 23 DCSwitchParameter const 8832 23 DCSwitchParameter const 23 DCSwitchParameter const 0 0 499 0 0 0 0 0 0 0 0 0 0 512 18 DCClassParameter * 8576 18 DCClassParameter * 18 DCClassParameter * 0 0 493 0 0 0 0 0 0 0 0 0 0 513 24 DCClassParameter const * 8576 24 DCClassParameter const * 24 DCClassParameter const * 0 0 514 0 0 0 0 0 0 0 0 0 0 514 22 DCClassParameter const 8832 22 DCClassParameter const 22 DCClassParameter const 0 0 493 0 0 0 0 0 0 0 0 0 0 515 4 bool 8194 4 bool 4 bool 0 4 0 0 0 0 0 0 0 0 0 0 0 516 8 DCFile * 8576 8 DCFile * 8 DCFile * 0 0 494 0 0 0 0 0 0 0 0 0 0 517 21 DCKeywordList const * 8576 21 DCKeywordList const * 21 DCKeywordList const * 0 0 518 0 0 0 0 0 0 0 0 0 0 518 19 DCKeywordList const 8832 19 DCKeywordList const 19 DCKeywordList const 0 0 484 0 0 0 0 0 0 0 0 0 0 519 17 DCKeyword const * 8576 17 DCKeyword const * 17 DCKeyword const * 0 0 520 0 0 0 0 0 0 0 0 0 0 520 15 DCKeyword const 8832 15 DCKeyword const 15 DCKeyword const 0 0 495 0 0 0 0 0 0 0 0 0 0 521 9 DCClass * 8576 9 DCClass * 9 DCClass * 0 0 492 0 0 0 0 0 0 0 0 0 0 522 15 DCAtomicField * 8576 15 DCAtomicField * 15 DCAtomicField * 0 0 490 0 0 0 0 0 0 0 0 0 0 523 21 DCAtomicField const * 8576 21 DCAtomicField const * 21 DCAtomicField const * 0 0 524 0 0 0 0 0 0 0 0 0 0 524 19 DCAtomicField const 8832 19 DCAtomicField const 19 DCAtomicField const 0 0 490 0 0 0 0 0 0 0 0 0 0 525 18 DCMolecularField * 8576 18 DCMolecularField * 18 DCMolecularField * 0 0 496 0 0 0 0 0 0 0 0 0 0 526 24 DCMolecularField const * 8576 24 DCMolecularField const * 24 DCMolecularField const * 0 0 527 0 0 0 0 0 0 0 0 0 0 527 22 DCMolecularField const 8832 22 DCMolecularField const 22 DCMolecularField const 0 0 496 0 0 0 0 0 0 0 0 0 0 528 13 DCParameter * 8576 13 DCParameter * 13 DCParameter * 0 0 488 0 0 0 0 0 0 0 0 0 0 529 19 DCParameter const * 8576 19 DCParameter const * 19 DCParameter const * 0 0 530 0 0 0 0 0 0 0 0 0 0 530 17 DCParameter const 8832 17 DCParameter const 17 DCParameter const 0 0 488 0 0 0 0 0 0 0 0 0 0 531 9 ostream * 8576 9 ostream * 9 ostream * 0 0 532 0 0 0 0 0 0 0 0 0 0 532 7 ostream 2048 7 ostream 7 ostream 0 0 0 0 0 0 0 0 0 0 0 0 0 533 4 void 8194 4 void 4 void 0 6 0 0 0 0 0 0 0 0 0 0 0 534 10 DCPacker * 8576 10 DCPacker * 10 DCPacker * 0 0 487 0 0 0 0 0 0 0 0 0 0 535 10 PyObject * 8576 10 PyObject * 10 PyObject * 0 0 536 0 0 0 0 0 0 0 0 0 0 536 8 PyObject 2048 8 PyObject 8 PyObject 0 0 0 0 0 0 0 0 0 0 0 0 0 537 8 Datagram 2048 8 Datagram 8 Datagram 0 0 0 0 0 0 0 0 0 0 0 0 900 //////////////////////////////////////////////////////////////////// // Class : Datagram // Description : An ordered list of data elements, formatted in memory // for transmission over a socket or writing to a data // file. // // Data elements should be added one at a time, in // order, to the Datagram. The nature and contents of // the data elements are totally up to the user. When a // Datagram has been transmitted and received, its data // elements may be extracted using a DatagramIterator; // it is up to the caller to know the correct type of // each data element in order. // // A Datagram is itself headerless; it is simply a // collection of data elements. //////////////////////////////////////////////////////////////////// 538 12 unsigned int 8198 12 unsigned int 12 unsigned int 0 1 0 0 0 0 0 0 0 0 0 0 0 539 10 Datagram * 8576 10 Datagram * 10 Datagram * 0 0 537 0 0 0 0 0 0 0 0 0 0 540 16 unsigned __int64 8230 16 unsigned __int64 16 unsigned __int64 0 8 0 0 0 0 0 0 0 0 0 0 0 541 15 DCKeywordList * 8576 15 DCKeywordList * 15 DCKeywordList * 0 0 484 0 0 0 0 0 0 0 0 0 0 542 12 DCPackData * 8576 12 DCPackData * 12 DCPackData * 0 0 486 0 0 0 0 0 0 0 0 0 0 543 18 DCPackData const * 8576 18 DCPackData const * 18 DCPackData const * 0 0 544 0 0 0 0 0 0 0 0 0 0 544 16 DCPackData const 8832 16 DCPackData const 16 DCPackData const 0 0 486 0 0 0 0 0 0 0 0 0 0 545 16 DCPacker const * 8576 16 DCPacker const * 16 DCPacker const * 0 0 546 0 0 0 0 0 0 0 0 0 0 546 14 DCPacker const 8832 14 DCPacker const 14 DCPacker const 0 0 487 0 0 0 0 0 0 0 0 0 0 547 6 double 8194 6 double 6 double 0 3 0 0 0 0 0 0 0 0 0 0 0 548 7 __int64 8226 7 __int64 7 __int64 0 8 0 0 0 0 0 0 0 0 0 0 0 549 9 istream * 8576 9 istream * 9 istream * 0 0 550 0 0 0 0 0 0 0 0 0 0 550 7 istream 2048 7 istream 7 istream 0 0 0 0 0 0 0 0 0 0 0 0 0 551 19 DCSimpleParameter * 8576 19 DCSimpleParameter * 19 DCSimpleParameter * 0 0 497 0 0 0 0 0 0 0 0 0 0 552 25 DCSimpleParameter const * 8576 25 DCSimpleParameter const * 25 DCSimpleParameter const * 0 0 553 0 0 0 0 0 0 0 0 0 0 553 23 DCSimpleParameter const 8832 23 DCSimpleParameter const 23 DCSimpleParameter const 0 0 497 0 0 0 0 0 0 0 0 0 0 554 18 DCArrayParameter * 8576 18 DCArrayParameter * 18 DCArrayParameter * 0 0 489 0 0 0 0 0 0 0 0 0 0 555 24 DCArrayParameter const * 8576 24 DCArrayParameter const * 24 DCArrayParameter const * 0 0 556 0 0 0 0 0 0 0 0 0 0 556 22 DCArrayParameter const 8832 22 DCArrayParameter const 22 DCArrayParameter const 0 0 489 0 0 0 0 0 0 0 0 0 0 557 17 DCTypedef const * 8576 17 DCTypedef const * 17 DCTypedef const * 0 0 558 0 0 0 0 0 0 0 0 0 0 558 15 DCTypedef const 8832 15 DCTypedef const 15 DCTypedef const 0 0 500 0 0 0 0 0 0 0 0 0 0 559 15 DCDeclaration * 8576 15 DCDeclaration * 15 DCDeclaration * 0 0 491 0 0 0 0 0 0 0 0 0 0 560 21 DCDeclaration const * 8576 21 DCDeclaration const * 21 DCDeclaration const * 0 0 561 0 0 0 0 0 0 0 0 0 0 561 19 DCDeclaration const 8832 19 DCDeclaration const 19 DCDeclaration const 0 0 491 0 0 0 0 0 0 0 0 0 0 562 15 DCClass const * 8576 15 DCClass const * 15 DCClass const * 0 0 563 0 0 0 0 0 0 0 0 0 0 563 13 DCClass const 8832 13 DCClass const 13 DCClass const 0 0 492 0 0 0 0 0 0 0 0 0 0 564 10 DCSwitch * 8576 10 DCSwitch * 10 DCSwitch * 0 0 498 0 0 0 0 0 0 0 0 0 0 565 16 DCSwitch const * 8576 16 DCSwitch const * 16 DCSwitch const * 0 0 566 0 0 0 0 0 0 0 0 0 0 566 14 DCSwitch const 8832 14 DCSwitch const 14 DCSwitch const 0 0 498 0 0 0 0 0 0 0 0 0 0 567 18 DatagramIterator * 8576 18 DatagramIterator * 18 DatagramIterator * 0 0 568 0 0 0 0 0 0 0 0 0 0 568 16 DatagramIterator 2048 16 DatagramIterator 16 DatagramIterator 0 0 0 0 0 0 0 0 0 0 0 0 438 //////////////////////////////////////////////////////////////////// // Class : DatagramIterator // Description : A class to retrieve the individual data elements // previously stored in a Datagram. Elements may be // retrieved one at a time; it is up to the caller to // know the correct type and order of each element. //////////////////////////////////////////////////////////////////// 569 16 Datagram const * 8576 16 Datagram const * 16 Datagram const * 0 0 570 0 0 0 0 0 0 0 0 0 0 570 14 Datagram const 8832 14 Datagram const 14 Datagram const 0 0 537 0 0 0 0 0 0 0 0 0 0 571 10 Filename * 8576 10 Filename * 10 Filename * 0 0 572 0 0 0 0 0 0 0 0 0 0 572 8 Filename 2048 8 Filename 8 Filename 0 0 0 0 0 0 0 0 0 0 0 0 869 //////////////////////////////////////////////////////////////////// // Class : Filename // Description : The name of a file, such as a texture file or an Egg // file. Stores the full pathname, and includes // functions for extracting out the directory prefix // part and the file extension and stuff. // // A Filename is also aware of the mapping between the // Unix-like filename convention we use internally, and // the local OS's specific filename convention, and it // knows how to perform basic OS-specific I/O, like // testing for file existence and searching a // searchpath, as well as the best way to open an // fstream for reading or writing. //////////////////////////////////////////////////////////////////// 573 14 DCFile const * 8576 14 DCFile const * 14 DCFile const * 0 0 574 0 0 0 0 0 0 0 0 0 0 574 12 DCFile const 8832 12 DCFile const 12 DCFile const 0 0 494 0 0 0 0 0 0 0 0 0 0 575 11 DCTypedef * 8576 11 DCTypedef * 11 DCTypedef * 0 0 500 0 0 0 0 0 0 0 0 0 0 576 17 unsigned long int 8214 17 unsigned long int 17 unsigned long int 0 1 0 0 0 0 0 0 0 0 0 0 0 577 6 string 2048 20 basic_string< char > 20 basic_string< char > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0