Panda3D
Public Member Functions | Friends

InterrogateManifest Class Reference

An internal representation of a manifest constant. More...

#include "interrogateManifest.h"

Inheritance diagram for InterrogateManifest:
InterrogateComponent

List of all members.

Public Member Functions

 InterrogateManifest (InterrogateModuleDef *def=NULL)
 InterrogateManifest (const InterrogateManifest &copy)
const string & get_definition () const
FunctionIndex get_getter () const
int get_int_value () const
const char * get_library_name () const
 Returns the library name, if it is known, or NULL if it is not.
const char * get_module_name () const
 Returns the module name, if it is known, or NULL if it is not.
const string & get_name () const
TypeIndex get_type () const
bool has_getter () const
bool has_int_value () const
bool has_library_name () const
 Returns true if we have a known library name, false if we do not.
bool has_module_name () const
 Returns true if we have a known module name, false if we do not.
bool has_name () const
bool has_type () const
void input (istream &in)
 Reads the data file as previously formatted by output().
void operator= (const InterrogateManifest &copy)
void output (ostream &out) const
 Formats the InterrogateManifest data for output to a data file.
void remap_indices (const IndexRemapper &remap)
 Remaps all internal index numbers according to the indicated map.

Friends

class InterrogateBuilder

Detailed Description

An internal representation of a manifest constant.

Definition at line 28 of file interrogateManifest.h.


Member Function Documentation

const char * InterrogateComponent::get_library_name ( ) const [inline, inherited]

Returns the library name, if it is known, or NULL if it is not.

This is the name of the library that this particular component was built into. Typically this will be a one-to-one correspondance with an invocation of the interrogate command. Typical examples are "libutil" and "liblinmath".

Definition at line 73 of file interrogateComponent.I.

Referenced by InterrogateComponent::has_library_name().

const char * InterrogateComponent::get_module_name ( ) const [inline, inherited]

Returns the module name, if it is known, or NULL if it is not.

This is the name of the module that this particular component is associated with. This is a higher grouping than library. Typical examples are "panda" and "pandaegg".

Definition at line 102 of file interrogateComponent.I.

Referenced by InterrogateComponent::has_module_name().

bool InterrogateComponent::has_library_name ( ) const [inline, inherited]

Returns true if we have a known library name, false if we do not.

See get_library_name().

Definition at line 57 of file interrogateComponent.I.

References InterrogateComponent::get_library_name().

bool InterrogateComponent::has_module_name ( ) const [inline, inherited]

Returns true if we have a known module name, false if we do not.

See get_module_name().

Definition at line 87 of file interrogateComponent.I.

References InterrogateComponent::get_module_name().

void InterrogateManifest::input ( istream &  in)

Reads the data file as previously formatted by output().

Reimplemented from InterrogateComponent.

Definition at line 42 of file interrogateManifest.cxx.

void InterrogateManifest::output ( ostream &  out) const

Formats the InterrogateManifest data for output to a data file.

Reimplemented from InterrogateComponent.

Definition at line 26 of file interrogateManifest.cxx.

void InterrogateManifest::remap_indices ( const IndexRemapper remap)

Remaps all internal index numbers according to the indicated map.

This called from InterrogateDatabase::remap_indices().

Definition at line 56 of file interrogateManifest.cxx.

References IndexRemapper::map_from().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations