ARB
Public Member Functions | List of all members
Package Class Reference
Inheritance diagram for Package:
Inheritance graph
[legend]
Collaboration diagram for Package:
Collaboration graph
[legend]

Public Member Functions

 Package (const char *name_, const char *prefix_)
 
 ~Package ()
 
bool matches_package_prefix (const string &text) const
 
void mark_function_defined (const string &function)
 
bool not_defined (const string &function) const
 
const stringget_prefix () const
 
void append_code (const string &code)
 
void append_code (const char *code)
 
void append_code (char code)
 
void append_linefeed (size_t count=1)
 
void print_xsubs (FILE *file)
 

Detailed Description

Definition at line 653 of file arb_proto_2_xsub.cxx.

Constructor & Destructor Documentation

Package::Package ( const char name_,
const char prefix_ 
)
inline

Definition at line 660 of file arb_proto_2_xsub.cxx.

References GB_MIND_CASE, GBS_create_hash(), and GBS_stropen().

Package::~Package ( )
inline

Definition at line 667 of file arb_proto_2_xsub.cxx.

References GBS_free_hash(), and GBS_strforget().

Member Function Documentation

bool Package::matches_package_prefix ( const string text) const
inline

Definition at line 672 of file arb_proto_2_xsub.cxx.

Referenced by xsubGenerator::mark_handcoded_functions().

void Package::mark_function_defined ( const string function)
inline

Definition at line 674 of file arb_proto_2_xsub.cxx.

References GBS_write_hash().

Referenced by xsubGenerator::mark_handcoded_functions().

bool Package::not_defined ( const string function) const
inline

Definition at line 675 of file arb_proto_2_xsub.cxx.

References GBS_read_hash().

const string& Package::get_prefix ( ) const
inline

Definition at line 677 of file arb_proto_2_xsub.cxx.

void Package::append_code ( const string code)
inline

Definition at line 679 of file arb_proto_2_xsub.cxx.

References GBS_strncat().

void Package::append_code ( const char code)
inline

Definition at line 680 of file arb_proto_2_xsub.cxx.

References append_code().

Referenced by append_code().

void Package::append_code ( char  code)
inline

Definition at line 681 of file arb_proto_2_xsub.cxx.

References GBS_chrcat().

void Package::append_linefeed ( size_t  count = 1)
inline

Definition at line 683 of file arb_proto_2_xsub.cxx.

void Package::print_xsubs ( FILE *  file)
inline

Definition at line 685 of file arb_proto_2_xsub.cxx.

References fputs(), and GBS_mempntr().

Referenced by xsubGenerator::print_xsubs().


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