Panda3D
Public Member Functions | Protected Member Functions | Protected Attributes

BinToC Class Reference

A utility program to read a (binary) file and output a table that can be compiled via a C compiler to generate the same data. More...

#include "binToC.h"

Inheritance diagram for BinToC:
ProgramBase WithOutputFile

List of all members.

Public Member Functions

void run ()

Protected Member Functions

virtual bool handle_args (Args &args)
 Does something with the additional arguments on the command line (after all the -options have been parsed).

Protected Attributes

bool _for_string
Filename _input_filename
bool _static_table
string _table_name

Detailed Description

A utility program to read a (binary) file and output a table that can be compiled via a C compiler to generate the same data.

Handy for portably importing binary data into a library or executable.

Definition at line 30 of file binToC.h.


Member Function Documentation

bool BinToC::handle_args ( ProgramBase::Args &  args) [protected, virtual]

Does something with the additional arguments on the command line (after all the -options have been parsed).

Returns true if the arguments are good, false otherwise.

Reimplemented from ProgramBase.

Definition at line 133 of file binToC.cxx.


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