CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
resource_manager.h
1
2#ifndef _aspose_system_resource_manager_h_
3#define _aspose_system_resource_manager_h_
4
5#include <system/object.h>
6#include <system/string.h>
7#include <system/exceptions.h>
8#include <system/reflection/assembly.h>
9#include <system/globalization/culture_info.h>
10
11namespace System { namespace Resources {
12
17class ASPOSECPP_SHARED_CLASS ResourceManager : public System::Object
18{
20 RTTI_INFO(ResourceManager, ::System::BaseTypesInfo<System::Object>)
21public:
25 ASPOSECPP_SHARED_API ResourceManager(const String& baseName, const SharedPtr<Reflection::Assembly>& assembly);
26
30 virtual ASPOSECPP_SHARED_API SharedPtr<Object> GetObject__(String name);
36
40 virtual ASPOSECPP_SHARED_API String GetString(String name);
45 virtual ASPOSECPP_SHARED_API String GetString(String name, SharedPtr<System::Globalization::CultureInfo> culture);
46};
47
48}}
49
50#endif //_aspose_system_resource_manager_h_
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Provides API to manage resources. Not implemented. Objects of this class should only be allocated usi...
Definition: resource_manager.h:18
ResourceManager(const String &baseName, const SharedPtr< Reflection::Assembly > &assembly)
RTTI information.
virtual String GetString(String name)
Gets string resource.
virtual SharedPtr< Object > GetObject__(String name, SharedPtr< System::Globalization::CultureInfo > culture)
Gets object from resource. Name is not GetObject() to deal with GetObjectA define issue.
virtual String GetString(String name, SharedPtr< System::Globalization::CultureInfo > culture)
Gets string resource.
virtual SharedPtr< Object > GetObject__(String name)
Gets object from resource. Name is not GetObject() to deal with GetObjectA define issue.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9