10#if ALIB_CAMP_RESOURCE_COMPILATION || DOXYGEN
203 #if ALIB_CAMP_RESOURCE_COMPILATION || DOXYGEN
210 #if ALIB_CAMP_RESOURCE_COMPILATION || DOXYGEN
273 const NString& resourceCategory,
274 bool allowReplacements,
bool Do(const NString &alibrcFileName, const NString &callingFile, Camp &campInstance, const NString &resourceCategory, bool allowReplacements, const NString &cppFileName)
~DevtimeResourceCompiler()
Destructor. This is empty if the symbol #"ALIB_CAMP_RESOURCE_COMPILATION" is not set.
void LoadResourceFile(Path &rcFileName, ResourceList &destination, RCErrorList &errors)
void ListErrors(RCErrorList &errors, Paragraphs &output, const PathString &fileName)
StdVectorMA< ResourceListEntry > ResourceList
A collection of resource entries, typically loaded from an .alibrc file.
void PatchCPPFile(const Path &cppFilePath, const ResourceList &resources, RCErrorList &errors, bool dryRun=false)
ResourceFileErrors
Error values that the function #"LoadResourceFile" may return.
@ ErrLineEndWhileInQuotes
Line ends while inside quotes.
@ CPPFileMissingEndMarker
Missing end marker in the cpp file to patch.
@ CPPFileNotFoundOrAccessible
Error opening the cpp file to patch.
@ CPPFileMissingStartMarker
Missing start marker in the cpp file to patch.
@ RCFileNotFoundOrAccessible
Error opening the resource file.
@ CPPFileNotWritable
Error writing the cpp file to patch.
@ DuplicateResourceName
A duplicate resource name was found.
StdVectorMA< ResourceFileError > RCErrorList
A list of errors that occurred with #"LoadResourceFile".
monomem::TMonoAllocator< lang::HeapAllocator > MonoAllocator
strings::TString< nchar > NString
Type alias in namespace #"%alib".
boxing::Box Box
Type alias in namespace #"%alib".
strings::TString< character > String
Type alias in namespace #"%alib".
system::Path Path
Type alias in namespace #"%alib".
strings::TString< PathCharType > PathString
The string-type used with this ALib Module.
format::Paragraphs Paragraphs
Type alias in namespace #"%alib".
std::vector< T, StdMA< T > > StdVectorMA
Type alias in namespace #"%alib".
Represents an error that occurred with the function #"LoadResourceFile".
ResourceFileErrors ErrorCode
The resource key (identifier).
int LineNo2
A line number in the resource file where this error also relates to.
int ColNo
The column number in the resource file where this error occurred.
int LineNo
The line number in the resource file where this error occurred.
NString Key
The resource key (identifier).
String Value
The resource value (content).
int LineNo
The line number in the resource file where this entry was found.