- sof_8070.zip
- sof
- console
- sof_console.vcproj
- src
- doc
- doxygen
- Doxyfile
- website
- diagrams
- presentations
- sof_overview.png
- sof_overview_small.png
- sequence_charts
- creating_bundles.sqd
- registering_services.sqd
- images
- creating_bundles.gif
- registering_services.sqd.jpg
- sof_console.gif
- soflogo.png
- sof.html
- examples
- bundle1
- sof_examples_bundle1.vcproj
- src
- bundle2
- sof_examples_bundle2.vcproj
- src
- common
- src
- sof_examples.vcproj
- src
- extern
- CppUnitLite
- CppUnitLite.vcproj
- src
- impl
- sof.sln
- sof.vcproj
- src
- sof
- config
- framework
- instantiation
- services
- admin
- util
- test
- bin
- config_file_reader_test.sof
- test_config_file.sof
- sof_test.vcproj
- src
- TestDll1
- src
- TestDll1.vcproj
- TestDll2
- src
- TestDll2.vcproj
|
#include "BundleConfiguration.h"
#include <sstream>
using namespace sof::config;
using namespace std;
const string BundleConfiguration::NO_LIB_PATH = "";
const string BundleConfiguration::NO_LIB_NAME = "";
BundleConfiguration::BundleConfiguration( const string &bundle, const string& clName, const string &libPath, const string &libName ) :
bundleName( bundle ), className(clName), libraryPath( libPath ), libraryName( libName )
{
}
BundleConfiguration::BundleConfiguration( const string &bundle, const string& clName ) :
bundleName( bundle ), className(clName), libraryPath( NO_LIB_PATH ), libraryName( NO_LIB_NAME )
{
}
string BundleConfiguration::getBundleName()
{
return this->bundleName;
}
string BundleConfiguration::getClassName()
{
return this->className;
}
string BundleConfiguration::getLibraryPath()
{
return this->libraryPath;
}
string BundleConfiguration::getLibraryName()
{
return this->libraryName;
}
string BundleConfiguration::toString()
{
ostringstream infoStream;
infoStream << "bundleConfig={";
infoStream << "bundleName=" << this->bundleName << ", ";
infoStream << "className=" << this->className << ", ";
infoStream << "libraryName=" << this->libraryName << ", ";
infoStream << "libraryPath=" << this->libraryPath << "}";
return infoStream.str();
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.