CCAFFEINE
0.8.8
|
#include <jc++dynamic.h>
Public Member Functions | |
JCPP_DynamicLink (int i) | |
~JCPP_DynamicLink () | |
Private Attributes | |
int | i_ |
jcpp::BufferedReader * | br |
jcpp::NonblockingReader * | nbr |
jcpp::StdReader * | sr |
jcpp::BooleanJC * | bjc |
jcpp::DoubleJC * | djc |
jcpp::FloatJC * | fjc |
jcpp::IntegerJC * | ijc |
jcpp::LongJC * | ljc |
jcpp::Hashtable * | ht |
jcpp::ResourceHash * | rh |
jcpp::StringBuffer * | sb |
jcpp::StringHash * | sh |
jcpp::StringTokenizer * | st |
jcpp::StringVector * | sv |
jcpp::Vector * | v |
requires jc++.h jc++io.h jc++lang.h jc++util.h. Deliberately does not live in jcpp:: namespace.
JCPP_DynamicLink::JCPP_DynamicLink | ( | int | i | ) |
To force the link of the jc++ classes, construct and destroy 1 of these somewhere in your statically linked code (main() might be appropriate). Thus all the symbols will be required and the link editor will do the right thing. int i -- if 0 (what you want) the member pointers are not filled in. Else we actually try to instantiate all the classes into our structure. Since it's a runtime decision, the linker will bind all the jc++ classes. Note we don't include ExceptionJC.
Destroy the collection, if ever really instantiated.
jcpp::BufferedReader* JCPP_DynamicLink::br [private] |
@ io implementation classes
jcpp::BooleanJC* JCPP_DynamicLink::bjc [private] |
@ lang implementation classes
jcpp::Hashtable* JCPP_DynamicLink::ht [private] |
@ util implementation classes