18 void *MemoryInfo::get_void_ptr()
const {
19 if (_void_ptr !=
nullptr) {
22 if (_ref_ptr ==
nullptr) {
25 if (_typed_ptr ==
nullptr) {
28 return ((
void *)_ref_ptr < (
void *)_typed_ptr) ? (
void *)_ref_ptr : (
void *)_typed_ptr;
51 bool MemoryInfo::is_size_known()
const {
52 return (_flags & F_size_known) != 0;
59 size_t MemoryInfo::get_size()
const {
67 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.