Panda3D
Loading...
Searching...
No Matches
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 (const InterrogateMakeSeq &copy)
 
 InterrogateMakeSeq (InterrogateModuleDef *def=nullptr)
 
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().
 
void operator= (const InterrogateMakeSeq &copy)
 
void output (std::ostream &out) const
 Formats the InterrogateMakeSeq data for output to a data file.
 
void remap_indices (const IndexRemapper &remap)
 Remaps all internal index numbers according to the indicated map.
 
- Public Member Functions inherited from InterrogateComponent
 InterrogateComponent (const InterrogateComponent &copy)
 
 InterrogateComponent (InterrogateModuleDef *def=nullptr)
 
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.
 
const char * get_module_name () const
 Returns the module name, if it is known, or NULL if it is not.
 
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.
 
bool has_module_name () const
 Returns true if we have a known module name, false if we do not.
 
bool has_name () const
 
void input (std::istream &in)
 Reads the data file as previously formatted by output().
 
void operator= (const InterrogateComponent &copy)
 
void output (std::ostream &out) const
 Formats the component for output to a data file.
 

Friends

class InterrogateBuilder
 

Detailed Description

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

Definition at line 26 of file interrogateMakeSeq.h.

Constructor & Destructor Documentation

◆ InterrogateMakeSeq() [1/2]

InterrogateMakeSeq::InterrogateMakeSeq ( InterrogateModuleDef * def = nullptr)
inline

Definition at line 17 of file interrogateMakeSeq.I.

◆ InterrogateMakeSeq() [2/2]

InterrogateMakeSeq::InterrogateMakeSeq ( const InterrogateMakeSeq & copy)
inline

Definition at line 28 of file interrogateMakeSeq.I.

Member Function Documentation

◆ get_comment()

const std::string & InterrogateMakeSeq::get_comment ( ) const
inline

Definition at line 72 of file interrogateMakeSeq.I.

◆ get_element_getter()

FunctionIndex InterrogateMakeSeq::get_element_getter ( ) const
inline

Definition at line 88 of file interrogateMakeSeq.I.

◆ get_length_getter()

FunctionIndex InterrogateMakeSeq::get_length_getter ( ) const
inline

Definition at line 80 of file interrogateMakeSeq.I.

◆ get_scoped_name()

const std::string & InterrogateMakeSeq::get_scoped_name ( ) const
inline

Definition at line 56 of file interrogateMakeSeq.I.

◆ has_comment()

bool InterrogateMakeSeq::has_comment ( ) const
inline

Definition at line 64 of file interrogateMakeSeq.I.

◆ has_scoped_name()

bool InterrogateMakeSeq::has_scoped_name ( ) const
inline

Definition at line 48 of file interrogateMakeSeq.I.

◆ input()

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

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

Definition at line 33 of file interrogateMakeSeq.cxx.

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

◆ operator=()

void InterrogateMakeSeq::operator= ( const InterrogateMakeSeq & copy)
inline

Definition at line 36 of file interrogateMakeSeq.I.

◆ output()

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

Formats the InterrogateMakeSeq data for output to a data file.

Definition at line 21 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 46 of file interrogateMakeSeq.cxx.

References IndexRemapper::map_from().

Friends And Related Symbol Documentation

◆ InterrogateBuilder

friend class InterrogateBuilder
friend

Definition at line 52 of file interrogateMakeSeq.h.


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