22
22
*/
23
23
class EXPCL_PANDA_PUTIL BamEnums {
24
24
PUBLISHED:
25
-
26
- // This defines an enumerated type used to represent the endianness of
27
- // certain numeric values stored in a Bam file. It really has only two
28
- // possible values, either BE_bigendian or BE_littleendian; but through a
29
- // preprocessor trick we also add BE_native, which is the same numerically
30
- // as whichever value the hardware supports natively.
25
+ /* *
26
+ * This defines an enumerated type used to represent the endianness of
27
+ * certain numeric values stored in a Bam file. It really has only two
28
+ * possible values, either BE_bigendian or BE_littleendian; but through a
29
+ * preprocessor trick we also add BE_native, which is the same numerically
30
+ * as whichever value the hardware supports natively.
31
+ */
31
32
enum BamEndian {
32
33
BE_bigendian = 0 ,
33
34
BE_littleendian = 1 ,
@@ -38,21 +39,25 @@ class EXPCL_PANDA_PUTIL BamEnums {
38
39
#endif
39
40
};
40
41
41
- /*
42
- * This is the code written along with each object. It is used to control
43
- * object scoping. A BOC_push includes an object definition, and will always
44
- * be eventually paired with a BOC_pop (which does not). A BOC_adjunct
45
- * includes an object definition but does not push the level; it is associated
46
- * with the current level. BOC_remove lists object ID's that have been
47
- * deallocated on the sender end. BOC_file_data may appear at any level and
48
- * indicates the following datagram contains auxiliary file data that may be
49
- * referenced by a later object.
50
- */
42
+ /* *
43
+ * This is the code written along with each object. It is used to control
44
+ * object scoping.
45
+ */
51
46
enum BamObjectCode {
47
+ // Indicates an object definition, and will always be eventually paired
48
+ // with a BOC_pop (which does not).
52
49
BOC_push,
53
50
BOC_pop,
51
+
52
+ // Includes an object definition but does not push the level; it is
53
+ // associated with the current level.
54
54
BOC_adjunct,
55
+
56
+ // Lists object IDs that have been deallocated on the sender end.
55
57
BOC_remove,
58
+
59
+ // May appear at any level and indicates the following datagram contains
60
+ // auxiliary file data that may be referenced by a later object.
56
61
BOC_file_data,
57
62
};
58
63
0 commit comments