static std::string getHelp() { VolumeRendererParameters vrParameters; ApplicationParameters applicationParameters; Configuration conf; conf.addDescription( vrParameters.getConfiguration( )); conf.addDescription( applicationParameters.getConfiguration( )); std::stringstream os; os << conf; #ifdef LIVRE_USE_RESTBRIDGE os << std::endl << restbridge::RestBridge::getHelp(); #endif return os.str(); }
std::string Client::getHelp() { VolumeRendererParameters vrParameters; ApplicationParameters applicationParameters; #ifdef LIVRE_USE_RESTBRIDGE RESTParameters restParameters; #endif Configuration conf; conf.addDescription( vrParameters.getConfiguration( )); conf.addDescription( applicationParameters.getConfiguration( )); #ifdef LIVRE_USE_RESTBRIDGE conf.addDescription( restParameters.getConfiguration( )); #endif std::stringstream os; os << conf; return os.str(); }