GME  13
Helper.h
Go to the documentation of this file.
00001 #ifndef HELPER_H_259823495872394857
00002 #define HELPER_H_259823495872394857
00003 
00004 #include <list>
00005 #include <string>
00006 
00007 std::list<std::tstring> tokenizer( std::tstring m, TCHAR separator = '/', bool include_separator = true);
00008 
00009 bool findExact( const std::tstring& m, const std::tstring& to_find);
00010 
00011 std::tstring makeRel( std::tstring& nm, std::tstring& nm2);
00012 
00013 std::tstring makeViewable( const std::tstring& m);
00014 
00015 std::tstring makeNameViewable( const std::tstring& m);
00016 
00017 CComBSTR makeLink( CComObjPtr<IMgaObject> obj, const std::tstring& nm_2 = _T(""), bool use_anyway_nm_2 = false);
00018 
00019 CComBSTR makeLink( CComObjPtr<IMgaFCO> obj, const std::tstring& nm_2 = _T(""), bool use_anyway_nm_2 = false);
00020 CComBSTR makeLink( CComObjPtr<IMgaReference> obj, const std::tstring& nm_2 = _T(""), bool use_anyway_nm_2 = false);
00021 CComBSTR makeLink( CComObjPtr<IMgaSet> obj, const std::tstring& nm_2 = _T(""), bool use_anyway_nm_2 = false);
00022 
00023 
00024 #endif // HELPER_H_259823495872394857
00025