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=nullptr)
 
 InterrogateMakeSeq (const InterrogateMakeSeq &copy)
 
const std::string & get_comment () const
 
FunctionIndex get_element_getter () const
 
FunctionIndex get_length_getter () const
 
const std::string & get_scoped_name () const
 
bool has_comment () const
 
bool has_scoped_name () const
 
void input (std::istream &in)
 Reads the data file as previously formatted by output(). More...
 
void operator= (const InterrogateMakeSeq &copy)
 
void output (std::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=nullptr)
 
 InterrogateComponent (const InterrogateComponent &copy)
 
const std::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 std::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 (std::istream &in)
 Reads the data file as previously formatted by output(). More...
 
void operator= (const InterrogateComponent &copy)
 
void output (std::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 26 of file interrogateMakeSeq.h.

Member Function Documentation

◆ input()

void InterrogateMakeSeq::input ( std::istream &  in)

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

Definition at line 34 of file interrogateMakeSeq.cxx.

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

◆ output()

void InterrogateMakeSeq::output ( std::ostream &  out) const

Formats the InterrogateMakeSeq data for output to a data file.

Definition at line 22 of file interrogateMakeSeq.cxx.

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

◆ 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 47 of file interrogateMakeSeq.cxx.

References IndexRemapper::map_from().


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