Overview     Modules     Class Hierarchy     Classes     Members  

TlpTools.h File Reference

#include <iostream>
#include "tulipconf.h"
#include "PluginLoader.h"

Include dependency graph for TlpTools.h:

This graph shows which files directly or indirectly include this file:

Namespaces

  • namespace tlp

Functions

  • TLP_SCOPE void initTulipLib (char *appDirPath=0)
  • TLP_SCOPE void loadPlugins (PluginLoader *plug=0)
  • TLP_SCOPE bool loadPlugin (const std::string &filename, PluginLoader *plug=0)
  • TLP_SCOPE void loadPluginsFromDir (std::string dir, std::string type, PluginLoader *loader=0)
  • TLP_SCOPE char * demangleTlpClassName (const char *className)
  • TLP_SCOPE std::istream * getIgzstream (const char *name, int open_mode=std::ios::in)
  • TLP_SCOPE std::ostream * getOgzstream (const char *name, int open_mode=std::ios::out)
  • TLP_SCOPE std::string getMajor (const std::string &release)
  • TLP_SCOPE std::string getMinor (const std::string &release)

Variables


Function Documentation

TLP_SCOPE char* tlp::demangleTlpClassName const char *  className  ) 
 

returns the demangled name of a C++ class defines in the tlp namespace. The tlp:: prefix is omitted and the returned pointer do not have to be deallocated.

TLP_SCOPE std::istream* tlp::getIgzstream const char *  name,
int  open_mode = std::ios::in
 

TLP_SCOPE std::string tlp::getMajor const std::string &  release  ) 
 

Extracts Major number from a release number

TLP_SCOPE std::string tlp::getMinor const std::string &  release  ) 
 

Extracts Minor number from a release number

TLP_SCOPE std::ostream* tlp::getOgzstream const char *  name,
int  open_mode = std::ios::out
 

Returns an ostream to write to a gzipped file (uses gzstream lib) the stream has to be deleted after use.

Warning:
Don't forget to check the stream with ios::bad()!

TLP_SCOPE void tlp::initTulipLib char *  appDirPath = 0  ) 
 

TLP_SCOPE bool tlp::loadPlugin const std::string &  filename,
PluginLoader *  plug = 0
 

TLP_SCOPE void tlp::loadPlugins PluginLoader *  plug = 0  ) 
 

TLP_SCOPE void tlp::loadPluginsFromDir std::string  dir,
std::string  type,
PluginLoader *  loader = 0
 


Variable Documentation

TLP_SCOPE const char tlp::PATH_DELIMITER
 

TLP_SCOPE std::string tlp::TulipDocProfile
 

TLP_SCOPE std::string tlp::TulipLibDir
 

TLP_SCOPE std::string tlp::TulipPluginsPath
 

TLP_SCOPE std::string tlp::TulipUserHandBookIndex
 



Tulip Software by LaBRI Visualization Team    2001 - 2007