PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
PT (TypedWritableReferenceCount) TypedWritableReferenceCount | |
Reads the bytes created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on those bytes. More... | |
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."
Definition in file typedWritableReferenceCount.cxx.
PT | ( | TypedWritableReferenceCount | ) |
Reads the bytes created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on those bytes.
Returns NULL on error.
This method is intended to replace decode_raw_from_bam_stream() when you know the stream in question returns an object of type TypedWritableReferenceCount, allowing for easier reference count management. Note that the caller is still responsible for maintaining the reference count on the return value.
Definition at line 39 of file typedWritableReferenceCount.cxx.