#include <c4d_resource.h>
					
				
This class allows to access resource files on the hard drive, for example to load dialog resources or to access string tables.
							公共成员函数 | 
					|
| GeResource () | |
| ~GeResource () | |
| Bool | Init () | 
| Bool | Init (const Filename &path, Bool regardIsStopped=true) | 
| Bool | InitAsGlobal () | 
| const String & | LoadString ( Int32 id) | 
| Bool | ReloadResource () | 
| void | Free () | 
| LocalResource * | Get () | 
							Private Attributes | 
					|
| class LocalResource * | lr | 
| Bool | state | 
| Bool | glob | 
| Filename * | initfn | 
| Bool | _regardIsStopped | 
| GeResource | ( | ) | 
Default constructor.
| ~ GeResource | ( | ) | 
Default destructor.
| Bool Init | ( | ) | 
Initializes the resources from the default folder of the plugin.
| Bool Init | ( | const Filename & | path , | 
| Bool | 
					
						regardIsStopped
					
					=
					
true
					
					 
				 | 
			||
| ) | 
Initializes the resources from their files in the 'res' 文件夹。
| [in] | path | The root path of the plugin's directory to find the 'res' 文件夹。 | 
| [in] | regardIsStopped | Internal . | 
| Bool InitAsGlobal | ( | ) | 
Lets access the Cinema 4D main application string resource.
| const String & LoadString | ( | Int32 | id | ) | 
Loads a string from the string resource file.
| [in] | id | The ID for the string in the resource file. | 
| Bool ReloadResource | ( | ) | 
Private .
| void Free | ( | ) | 
Frees all resources used by the class and sets the internal pointer to nullptr .
| LocalResource* Get | ( | ) | 
Gets the main program's resource.
| class LocalResource* lr | private | 
  | 
private | 
  | 
private | 
  | 
private | 
  | 
private |