|
|
@@ -301,6 +301,19 @@ finalize(BamReader *) {
|
|
|
nassertv(get_ref_count() != 0);
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: InternalName::make
|
|
|
+// Access: Published, Static
|
|
|
+// Description: Make using a string and an integer. Concatenates
|
|
|
+// the two.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+PT(InternalName) InternalName::
|
|
|
+make(const string &name, int index) {
|
|
|
+ std::ostringstream full;
|
|
|
+ full << name << index;
|
|
|
+ return make(full.str());
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: InternalName::make_from_bam
|
|
|
// Access: Protected, Static
|