You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
codm/sdk/INIFileParser/INIFileParser.hpp

298 lines
17 KiB

//generated with dll2sdk
#pragma once
#include "..\dll2sdk_forward.g.hpp"
#include "..\mscorlib\mscorlib.hpp"
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct KeyData : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* _comments_;
DLL2SDK::mscorlib::System::String* _value_;
DLL2SDK::mscorlib::System::String* _keyName_;
void _ctor_40(DLL2SDK::mscorlib::System::String* keyName_);
void _ctor_41(DLL2SDK::INIFileParser::IniParser::Model::KeyData* ori_);
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* get_Comments_42();
void set_Comments_43(DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* value_);
DLL2SDK::mscorlib::System::String* get_Value_44();
void set_Value_45(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::mscorlib::System::String* get_KeyName_46();
DLL2SDK::mscorlib::System::Object* Clone_47();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct SectionData : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* _searchComparer_;
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* _leadingComments_;
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* _trailingComments_;
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* _keyDataCollection_;
DLL2SDK::mscorlib::System::String* _sectionName_;
void _ctor_68(DLL2SDK::mscorlib::System::String* sectionName_, DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
void _ctor_69(DLL2SDK::INIFileParser::IniParser::Model::SectionData* ori_, DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
DLL2SDK::mscorlib::System::String* get_SectionName_70();
void set_SectionName_71(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* get_LeadingComments_72();
void set_LeadingComments_73(DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* value_);
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* get_TrailingComments_74();
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* get_Keys_75();
DLL2SDK::mscorlib::System::Object* Clone_76();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model::Formatting
{
struct DefaultIniDataFormatter : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* _configuration_;
void _ctor_132(DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* configuration_);
DLL2SDK::mscorlib::System::String* IniDataToString_133(DLL2SDK::INIFileParser::IniParser::Model::IniData* iniData_);
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* get_Configuration_134();
void set_Configuration_135(DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* value_);
void WriteSection_136(DLL2SDK::INIFileParser::IniParser::Model::SectionData* section_, DLL2SDK::mscorlib::System::Text::StringBuilder* sb_);
void WriteKeyValueData_137(DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* keyDataCollection_, DLL2SDK::mscorlib::System::Text::StringBuilder* sb_);
void WriteComments_138(DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* comments_, DLL2SDK::mscorlib::System::Text::StringBuilder* sb_);
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model::Configuration
{
struct IniParserConfiguration : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::System::System::Text::RegularExpressions::Regex* _CommentRegex_k__BackingField_;
DLL2SDK::System::System::Text::RegularExpressions::Regex* _SectionRegex_k__BackingField_;
bool _CaseInsensitive_k__BackingField_;
DLL2SDK::mscorlib::System::String* _NewLineStr_k__BackingField_;
wchar_t _KeyValueAssigmentChar_k__BackingField_;
DLL2SDK::mscorlib::System::String* _AssigmentSpacer_k__BackingField_;
bool _AllowKeysWithoutSection_k__BackingField_;
bool _AllowDuplicateKeys_k__BackingField_;
bool _OverrideDuplicateKeys_k__BackingField_;
bool _ConcatenateDuplicateKeys_k__BackingField_;
bool _ThrowExceptionsOnError_k__BackingField_;
bool _AllowDuplicateSections_k__BackingField_;
bool _AllowCreateSectionsOnFly_k__BackingField_;
bool _SkipInvalidLines_k__BackingField_;
wchar_t _sectionStartChar_;
wchar_t _sectionEndChar_;
DLL2SDK::mscorlib::System::String* _commentString_;
void _ctor_96();
DLL2SDK::System::System::Text::RegularExpressions::Regex* get_CommentRegex_97();
void set_CommentRegex_98(DLL2SDK::System::System::Text::RegularExpressions::Regex* value_);
DLL2SDK::System::System::Text::RegularExpressions::Regex* get_SectionRegex_99();
void set_SectionRegex_100(DLL2SDK::System::System::Text::RegularExpressions::Regex* value_);
wchar_t get_SectionStartChar_101();
void set_SectionStartChar_102(wchar_t value_);
wchar_t get_SectionEndChar_103();
void set_SectionEndChar_104(wchar_t value_);
bool get_CaseInsensitive_105();
DLL2SDK::mscorlib::System::String* get_CommentString_106();
void set_CommentString_107(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::mscorlib::System::String* get_NewLineStr_108();
void set_NewLineStr_109(DLL2SDK::mscorlib::System::String* value_);
wchar_t get_KeyValueAssigmentChar_110();
void set_KeyValueAssigmentChar_111(wchar_t value_);
DLL2SDK::mscorlib::System::String* get_AssigmentSpacer_112();
void set_AssigmentSpacer_113(DLL2SDK::mscorlib::System::String* value_);
bool get_AllowKeysWithoutSection_114();
void set_AllowKeysWithoutSection_115(bool value_);
bool get_AllowDuplicateKeys_116();
void set_AllowDuplicateKeys_117(bool value_);
bool get_OverrideDuplicateKeys_118();
void set_ConcatenateDuplicateKeys_119(bool value_);
bool get_ThrowExceptionsOnError_120();
void set_ThrowExceptionsOnError_121(bool value_);
bool get_AllowDuplicateSections_122();
void set_AllowDuplicateSections_123(bool value_);
void set_AllowCreateSectionsOnFly_124(bool value_);
bool get_SkipInvalidLines_125();
void set_SkipInvalidLines_126(bool value_);
void RecreateSectionRegex_127(wchar_t value_);
int32_t GetHashCode_128();
bool Equals_129(DLL2SDK::mscorlib::System::Object* obj_);
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* Clone_130();
DLL2SDK::mscorlib::System::Object* System_ICloneable_Clone_131();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct IniData : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::INIFileParser::IniParser::Model::SectionDataCollection* _sections_;
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* _Global_k__BackingField_;
wchar_t _SectionKeySeparator_k__BackingField_;
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* _configuration_;
void _ctor_28();
void _ctor_29(DLL2SDK::INIFileParser::IniParser::Model::SectionDataCollection* sdc_);
void _ctor_30(DLL2SDK::INIFileParser::IniParser::Model::IniData* ori_);
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* get_Configuration_31();
void set_Configuration_32(DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* value_);
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* get_Global_33();
void set_Global_34(DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* value_);
DLL2SDK::INIFileParser::IniParser::Model::SectionDataCollection* get_Sections_35();
void set_SectionKeySeparator_36(wchar_t value_);
DLL2SDK::mscorlib::System::String* ToString_37();
DLL2SDK::mscorlib::System::String* ToString_38(DLL2SDK::INIFileParser::IniParser::Model::Formatting::IIniDataFormatter* formatter_);
DLL2SDK::mscorlib::System::Object* Clone_39();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct SectionDataCollection : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* _searchComparer_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, DLL2SDK::INIFileParser::IniParser::Model::SectionData*>* _sectionData_;
void _ctor_77();
void _ctor_78(DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
void _ctor_79(DLL2SDK::INIFileParser::IniParser::Model::SectionDataCollection* ori_, DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
int32_t get_Count_80();
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* get_Item_81(DLL2SDK::mscorlib::System::String* sectionName_);
bool AddSection_82(DLL2SDK::mscorlib::System::String* keyName_);
bool ContainsSection_83(DLL2SDK::mscorlib::System::String* keyName_);
DLL2SDK::INIFileParser::IniParser::Model::SectionData* GetSectionData_84(DLL2SDK::mscorlib::System::String* sectionName_);
DLL2SDK::mscorlib::System::Collections::Generic::IEnumerator_1<DLL2SDK::INIFileParser::IniParser::Model::SectionData*>* GetEnumerator_85();
DLL2SDK::mscorlib::System::Collections::IEnumerator* System_Collections_IEnumerable_GetEnumerator_86();
DLL2SDK::mscorlib::System::Object* Clone_87();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct KeyDataCollection : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* _searchComparer_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, DLL2SDK::INIFileParser::IniParser::Model::KeyData*>* _keyData_;
void _ctor_48();
void _ctor_49(DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
void _ctor_50(DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* ori_, DLL2SDK::mscorlib::System::Collections::Generic::IEqualityComparer_1<DLL2SDK::mscorlib::System::String*>* searchComparer_);
void set_Item_51(DLL2SDK::mscorlib::System::String* keyName_, DLL2SDK::mscorlib::System::String* value_);
int32_t get_Count_52();
bool AddKey_53(DLL2SDK::mscorlib::System::String* keyName_);
bool AddKey_54(DLL2SDK::mscorlib::System::String* keyName_, DLL2SDK::mscorlib::System::String* keyValue_);
bool ContainsKey_55(DLL2SDK::mscorlib::System::String* keyName_);
DLL2SDK::INIFileParser::IniParser::Model::KeyData* GetKeyData_56(DLL2SDK::mscorlib::System::String* keyName_);
DLL2SDK::mscorlib::System::Collections::Generic::IEnumerator_1<DLL2SDK::INIFileParser::IniParser::Model::KeyData*>* GetEnumerator_57();
DLL2SDK::mscorlib::System::Collections::IEnumerator* System_Collections_IEnumerable_GetEnumerator_58();
DLL2SDK::mscorlib::System::Object* Clone_59();
DLL2SDK::INIFileParser::IniParser::Model::KeyData* GetLast_60();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Parser
{
struct IniDataParser : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::Exception*>* _errorExceptions_;
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* _Configuration_k__BackingField_;
DLL2SDK::mscorlib::System::Collections::Generic::List_1<DLL2SDK::mscorlib::System::String*>* _currentCommentListTemp_;
DLL2SDK::mscorlib::System::String* _currentSectionNameTemp_;
void _ctor_11();
void _ctor_12(DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* parserConfiguration_);
DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* get_Configuration_13();
void set_Configuration_14(DLL2SDK::INIFileParser::IniParser::Model::Configuration::IniParserConfiguration* value_);
bool get_HasError_15();
DLL2SDK::INIFileParser::IniParser::Model::IniData* Parse_16(DLL2SDK::mscorlib::System::String* iniDataString_);
bool LineContainsAComment_17(DLL2SDK::mscorlib::System::String* line_);
bool LineMatchesASection_18(DLL2SDK::mscorlib::System::String* line_);
bool LineMatchesAKeyValuePair_19(DLL2SDK::mscorlib::System::String* line_);
DLL2SDK::mscorlib::System::String* ExtractComment_20(DLL2SDK::mscorlib::System::String* line_);
void ProcessLine_21(DLL2SDK::mscorlib::System::String* currentLine_, DLL2SDK::INIFileParser::IniParser::Model::IniData* currentIniData_);
void ProcessSection_22(DLL2SDK::mscorlib::System::String* line_, DLL2SDK::INIFileParser::IniParser::Model::IniData* currentIniData_);
void ProcessKeyValuePair_23(DLL2SDK::mscorlib::System::String* line_, DLL2SDK::INIFileParser::IniParser::Model::IniData* currentIniData_);
DLL2SDK::mscorlib::System::String* ExtractKey_24(DLL2SDK::mscorlib::System::String* s_);
DLL2SDK::mscorlib::System::String* ExtractValue_25(DLL2SDK::mscorlib::System::String* s_);
void HandleDuplicatedKeyInCollection_26(DLL2SDK::mscorlib::System::String* key_, DLL2SDK::mscorlib::System::String* value_, DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* keyDataCollection_, DLL2SDK::mscorlib::System::String* sectionName_);
void AddKeyToKeyValueCollection_27(DLL2SDK::mscorlib::System::String* key_, DLL2SDK::mscorlib::System::String* value_, DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* keyDataCollection_, DLL2SDK::mscorlib::System::String* sectionName_);
};
}
namespace DLL2SDK::INIFileParser::IniParser::Exceptions
{
struct ParsingException : DLL2SDK::mscorlib::System::Exception
{
DLL2SDK::mscorlib::System::Version* _LibVersion_k__BackingField_;
int32_t _LineNumber_k__BackingField_;
DLL2SDK::mscorlib::System::String* _LineValue_k__BackingField_;
void set_LibVersion_6(DLL2SDK::mscorlib::System::Version* value_);
void set_LineNumber_7(int32_t value_);
void set_LineValue_8(DLL2SDK::mscorlib::System::String* value_);
void _ctor_9(DLL2SDK::mscorlib::System::String* msg_);
void _ctor_10(DLL2SDK::mscorlib::System::String* msg_, int32_t lineNumber_, DLL2SDK::mscorlib::System::String* lineValue_, DLL2SDK::mscorlib::System::Exception* innerException_);
};
}
namespace DLL2SDK::INIFileParser::IniParser
{
struct StreamIniDataParser : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::INIFileParser::IniParser::Parser::IniDataParser* _Parser_k__BackingField_;
DLL2SDK::INIFileParser::IniParser::Parser::IniDataParser* get_Parser_2();
void set_Parser_3(DLL2SDK::INIFileParser::IniParser::Parser::IniDataParser* value_);
void _ctor_4();
void _ctor_5(DLL2SDK::INIFileParser::IniParser::Parser::IniDataParser* parser_);
};
}
namespace DLL2SDK::INIFileParser::IniParser
{
struct FileIniDataParser : DLL2SDK::INIFileParser::IniParser::StreamIniDataParser
{
void _ctor_1();
};
}
namespace DLL2SDK::INIFileParser
{
struct _Module_ : DLL2SDK::Object
{
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct KeyDataCollection__GetEnumerator_d__20 : DLL2SDK::mscorlib::System::Object
{
int32_t __1__state_;
DLL2SDK::INIFileParser::IniParser::Model::KeyData* __2__current_;
DLL2SDK::INIFileParser::IniParser::Model::KeyDataCollection* __4__this_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2_KeyCollection_Enumerator<DLL2SDK::mscorlib::System::String*, DLL2SDK::INIFileParser::IniParser::Model::KeyData*> __7__wrap1_;
void _ctor_61(int32_t __1__state_);
void System_IDisposable_Dispose_62();
bool MoveNext_63();
void __m__Finally1_64();
DLL2SDK::INIFileParser::IniParser::Model::KeyData* System_Collections_Generic_IEnumerator_IniParser_Model_KeyData__get_Current_65();
void System_Collections_IEnumerator_Reset_66();
DLL2SDK::mscorlib::System::Object* System_Collections_IEnumerator_get_Current_67();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct SectionDataCollection__GetEnumerator_d__16 : DLL2SDK::mscorlib::System::Object
{
int32_t __1__state_;
DLL2SDK::INIFileParser::IniParser::Model::SectionData* __2__current_;
DLL2SDK::INIFileParser::IniParser::Model::SectionDataCollection* __4__this_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2_KeyCollection_Enumerator<DLL2SDK::mscorlib::System::String*, DLL2SDK::INIFileParser::IniParser::Model::SectionData*> __7__wrap1_;
void _ctor_88(int32_t __1__state_);
void System_IDisposable_Dispose_89();
bool MoveNext_90();
void __m__Finally1_91();
DLL2SDK::INIFileParser::IniParser::Model::SectionData* System_Collections_Generic_IEnumerator_IniParser_Model_SectionData__get_Current_92();
void System_Collections_IEnumerator_Reset_93();
DLL2SDK::mscorlib::System::Object* System_Collections_IEnumerator_get_Current_94();
};
}
namespace DLL2SDK::INIFileParser::IniParser::Model
{
struct IniDataCaseInsensitive : DLL2SDK::INIFileParser::IniParser::Model::IniData
{
void _ctor_95();
};
}