InternalNameCollection
from panda3d.core import InternalNameCollection
- class InternalNameCollection
Bases:
DTOOL_SUPER_BASE
Inheritance diagram
- __init__(*args, **kwargs)
- addName()
C++ Interface: add_name(const InternalNameCollection self, const InternalName name)
- /**
Adds a new InternalName to the collection.
*/
- addNamesFrom()
C++ Interface: add_names_from(const InternalNameCollection self, const InternalNameCollection other)
- /**
Adds all the InternalNames indicated in the other collection to this name.
The other names are simply appended to the end of the names in this list;
duplicates are not automatically removed.
*/
- add_name()
C++ Interface: add_name(const InternalNameCollection self, const InternalName name)
- /**
Adds a new InternalName to the collection.
*/
- add_names_from()
C++ Interface: add_names_from(const InternalNameCollection self, const InternalNameCollection other)
- /**
Adds all the InternalNames indicated in the other collection to this name.
The other names are simply appended to the end of the names in this list;
duplicates are not automatically removed.
*/
- assign()
C++ Interface: assign(const InternalNameCollection self, const InternalNameCollection copy)
- clear()
C++ Interface: clear(const InternalNameCollection self)
- /**
Removes all InternalNames from the collection.
*/
- getName()
C++ Interface: get_name(InternalNameCollection self, int index)
- /**
Returns the nth InternalName in the collection.
*/
- getNames()
- getNumNames()
C++ Interface: get_num_names(InternalNameCollection self)
- /**
Returns the number of InternalNames in the collection.
*/
- get_name()
C++ Interface: get_name(InternalNameCollection self, int index)
- /**
Returns the nth InternalName in the collection.
*/
- get_names()
- get_num_names()
C++ Interface: get_num_names(InternalNameCollection self)
- /**
Returns the number of InternalNames in the collection.
*/
- hasName()
C++ Interface: has_name(InternalNameCollection self, const InternalName name)
- /**
Returns true if the indicated InternalName appears in this collection,
false otherwise.
*/
- has_name()
C++ Interface: has_name(InternalNameCollection self, const InternalName name)
- /**
Returns true if the indicated InternalName appears in this collection,
false otherwise.
*/
- output()
C++ Interface: output(InternalNameCollection self, ostream out)
- /**
Writes a brief one-line description of the InternalNameCollection to the
indicated output stream.
*/
- removeDuplicateNames()
C++ Interface: remove_duplicate_names(const InternalNameCollection self)
- /**
Removes any duplicate entries of the same InternalNames on this collection.
If a InternalName appears multiple times, the first appearance is retained;
subsequent appearances are removed.
*/
- removeName()
C++ Interface: remove_name(const InternalNameCollection self, const InternalName name)
- /**
Removes the indicated InternalName from the collection. Returns true if
the name was removed, false if it was not a member of the collection.
*/
- removeNamesFrom()
C++ Interface: remove_names_from(const InternalNameCollection self, const InternalNameCollection other)
- /**
Removes from this collection all of the InternalNames listed in the other
collection.
*/
- remove_duplicate_names()
C++ Interface: remove_duplicate_names(const InternalNameCollection self)
- /**
Removes any duplicate entries of the same InternalNames on this collection.
If a InternalName appears multiple times, the first appearance is retained;
subsequent appearances are removed.
*/
- remove_name()
C++ Interface: remove_name(const InternalNameCollection self, const InternalName name)
- /**
Removes the indicated InternalName from the collection. Returns true if
the name was removed, false if it was not a member of the collection.
*/