Panda3D
Public Member Functions | Friends | List of all members
InterrogateMakeSeq Class Reference

Represents a synthetic method created via the MAKE_SEQ() macro. More...

#include "interrogateMakeSeq.h"

Inheritance diagram for InterrogateMakeSeq:
InterrogateComponent

Public Member Functions

 InterrogateMakeSeq (InterrogateModuleDef *def=NULL)
 
 InterrogateMakeSeq (const InterrogateMakeSeq &copy)
 
TypeIndex get_class () const
 Return the class that owns the make_seq. More...
 
const string & get_element_name () const
 
const string & get_num_name () const
 
const string & get_seq_name () const
 
void input (istream &in)
 Reads the data file as previously formatted by output(). More...
 
void operator= (const InterrogateMakeSeq &copy)
 
void output (ostream &out) const
 Formats the InterrogateMakeSeq data for output to a data file. More...
 
void remap_indices (const IndexRemapper &remap)
 Remaps all internal index numbers according to the indicated map. More...
 
- Public Member Functions inherited from InterrogateComponent
 InterrogateComponent (InterrogateModuleDef *def=NULL)
 
 InterrogateComponent (const InterrogateComponent &copy)
 
const string & get_alt_name (int n) const
 
const char * get_library_name () const
 Returns the library name, if it is known, or NULL if it is not. More...
 
const char * get_module_name () const
 Returns the module name, if it is known, or NULL if it is not. More...
 
const string & get_name () const
 
int get_num_alt_names () const
 
bool has_library_name () const
 Returns true if we have a known library name, false if we do not. More...
 
bool has_module_name () const
 Returns true if we have a known module name, false if we do not. More...
 
bool has_name () const
 
void input (istream &in)
 Reads the data file as previously formatted by output(). More...
 
void operator= (const InterrogateComponent &copy)
 
void output (ostream &out) const
 Formats the component for output to a data file. More...
 

Friends

class InterrogateBuilder
 

Detailed Description

Represents a synthetic method created via the MAKE_SEQ() macro.

Definition at line 29 of file interrogateMakeSeq.h.

Member Function Documentation

◆ get_class()

TypeIndex InterrogateMakeSeq::get_class ( ) const
inline

Return the class that owns the make_seq.

Definition at line 59 of file interrogateMakeSeq.I.

References input(), and output().

◆ input()

void InterrogateMakeSeq::input ( istream &  in)

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

Definition at line 41 of file interrogateMakeSeq.cxx.

References InterrogateComponent::input(), and remap_indices().

Referenced by get_class(), and output().

◆ output()

void InterrogateMakeSeq::output ( ostream &  out) const

Formats the InterrogateMakeSeq data for output to a data file.

Definition at line 26 of file interrogateMakeSeq.cxx.

References input(), and InterrogateComponent::output().

Referenced by get_class().

◆ remap_indices()

void InterrogateMakeSeq::remap_indices ( const IndexRemapper remap)

Remaps all internal index numbers according to the indicated map.

This called from InterrogateDatabase::remap_indices().

Definition at line 57 of file interrogateMakeSeq.cxx.

Referenced by input(), and InterrogateDatabase::read().


The documentation for this class was generated from the following files: