22 void *MemoryInfo::get_void_ptr()
const {
23 if (_void_ptr != (
void *)NULL) {
26 if (_ref_ptr == (
void *)NULL) {
29 if (_typed_ptr == (
void *)NULL) {
32 return ((
void *)_ref_ptr < (
void *)_typed_ptr) ? (
void *)_ref_ptr : (
void *)_typed_ptr;
64 bool MemoryInfo::is_size_known()
const {
65 return (_flags & F_size_known) != 0;
75 size_t MemoryInfo::get_size()
const {
85 double MemoryInfo::get_time()
const {
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
A base class for all things that want to be reference-counted.