Static methods

As one would expect, proxy (or ``stub'') classes maintain minimal state so that, unlike C or FORTRAN 77, there is no special context argument added to non-static member functions. An example call to the static addSearchPath method of the sidl.Loader class is$:$


#ifdef SIDL_USE_UCXX
using namespace ucxx;
#endif

std::string s("/try/looking/here");
sidl::Loader::addSearchPath( s );

Note the function is invoked directly, through the use of its class name, rather than through an instance.





babel-1.4.0
users_guide Last Modified 2008-10-16

http://www.llnl.gov/CASC/components
components@llnl.gov