Panda3D
Loading...
Searching...
No Matches
dcFile.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file dcFile.I
10 * @author drose
11 * @date 2006-01-10
12 */
13
14/**
15 * Returns true if all of the classes read from the DC file were defined and
16 * valid, or false if any of them were undefined ("bogus classes"). If this
17 * is true, we might have read a partial file.
18 */
19INLINE bool DCFile::
20all_objects_valid() const {
21 return _all_objects_valid;
22}
23
24/**
25 * Rebuilds all of the inherited fields tables, if necessary.
26 */
27INLINE void DCFile::
29 if (_inherited_fields_stale) {
30 rebuild_inherited_fields();
31 }
32}
33
34/**
35 * Indicates that something has changed in one or more of the inheritance
36 * chains or the set of fields; the next time check_inherited_fields() is
37 * called, the inherited fields tables of all classes will be rebuilt.
38 */
39INLINE void DCFile::
41 _inherited_fields_stale = true;
42}
bool all_objects_valid() const
Returns true if all of the classes read from the DC file were defined and valid, or false if any of t...
Definition dcFile.I:20
void mark_inherited_fields_stale()
Indicates that something has changed in one or more of the inheritance chains or the set of fields; t...
Definition dcFile.I:40
void check_inherited_fields()
Rebuilds all of the inherited fields tables, if necessary.
Definition dcFile.I:28