Merge pull request #971 from asuessenbach/reorder

Reorder member functions by features and extensions.
This commit is contained in:
Andreas Süßenbach 2021-05-27 09:10:03 +02:00 committed by GitHub
commit ec62afc56e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31717 additions and 30769 deletions

File diff suppressed because it is too large Load Diff

View File

@ -31,20 +31,22 @@ public:
void appendDispatchLoaderStatic( std::string & str ); // use exported symbols from loader void appendDispatchLoaderStatic( std::string & str ); // use exported symbols from loader
void appendDispatchLoaderDefault( void appendDispatchLoaderDefault(
std::string & str ); // typedef to DispatchLoaderStatic or undefined type, based on VK_NO_PROTOTYPES std::string & str ); // typedef to DispatchLoaderStatic or undefined type, based on VK_NO_PROTOTYPES
void appendEnums( std::string & str ) const; void appendEnums( std::string & str ) const;
void appendHandles( std::string & str ); void appendHandles( std::string & str );
void appendHandlesCommandDefinitions( std::string & str ) const; void appendHandlesCommandDefinitions( std::string & str ) const;
void appendHashStructures( std::string & str ) const; void appendHashStructures( std::string & str ) const;
void appendRAIIDispatchers( std::string & str ) const; void appendRAIICommands( std::string & str, std::set<std::string> const & specialFunctions ) const;
void appendRAIIHandles( std::string & str, std::string & commandDefinitions ); void appendRAIIDispatchers( std::string & str ) const;
void appendResultExceptions( std::string & str ) const; void appendRAIIHandles( std::string & str, std::set<std::string> const & specialFunctions ) const;
void appendStructs( std::string & str ); void appendResultExceptions( std::string & str ) const;
void appendStructureChainValidation( std::string & str ); void appendStructs( std::string & str );
void appendThrowExceptions( std::string & str ) const; void appendStructureChainValidation( std::string & str );
void appendIndexTypeTraits( std::string & str ) const; void appendThrowExceptions( std::string & str ) const;
std::string const & getTypesafeCheck() const; void appendIndexTypeTraits( std::string & str ) const;
std::string const & getVersion() const; std::set<std::string> determineSpecialFunctions();
std::string const & getVulkanLicenseHeader() const; std::string const & getTypesafeCheck() const;
std::string const & getVersion() const;
std::string const & getVulkanLicenseHeader() const;
private: private:
struct BaseTypeData struct BaseTypeData
@ -338,6 +340,7 @@ private:
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
bool twoStep, bool twoStep,
bool firstCall ) const; bool firstCall ) const;
void appendCommand( std::string & str, std::string const & command, std::string const & handle ) const;
void appendCommand( std::string & str, void appendCommand( std::string & str,
std::string const & name, std::string const & name,
CommandData const & commandData, CommandData const & commandData,
@ -490,6 +493,10 @@ private:
size_t initialSkipCount, size_t initialSkipCount,
bool definition, bool definition,
std::vector<size_t> const & returnParamIndices ) const; std::vector<size_t> const & returnParamIndices ) const;
void appendDestroyCommand( std::string & str,
std::string const & name,
CommandData const & commandData,
std::string const & handleName ) const;
void appendDispatchLoaderDynamicCommand( std::string & str, void appendDispatchLoaderDynamicCommand( std::string & str,
std::string & emptyFunctions, std::string & emptyFunctions,
std::string & deviceFunctions, std::string & deviceFunctions,
@ -546,12 +553,10 @@ private:
bool isTemplateParam ) const; bool isTemplateParam ) const;
void appendHandle( std::string & str, std::pair<std::string, HandleData> const & handle ); void appendHandle( std::string & str, std::pair<std::string, HandleData> const & handle );
void appendRAIIHandle( std::string & str, void appendRAIIHandle( std::string & str,
std::string & commandDefinitions,
std::pair<std::string, HandleData> const & handle, std::pair<std::string, HandleData> const & handle,
std::set<std::string> & listedHandles, std::set<std::string> & listedHandles,
std::set<std::string> const & specialFunctions ) const; std::set<std::string> const & specialFunctions ) const;
void appendRAIIHandleContext( std::string & str, void appendRAIIHandleContext( std::string & str,
std::string & commandDefinitions,
std::pair<std::string, HandleData> const & handle, std::pair<std::string, HandleData> const & handle,
std::set<std::string> const & specialFunctions ) const; std::set<std::string> const & specialFunctions ) const;
std::pair<std::string, std::string> appendStaticCommand( std::string & str, std::pair<std::string, std::string> appendStaticCommand( std::string & str,
@ -815,15 +820,16 @@ private:
std::map<std::string, VulkanHppGenerator::CommandData>::const_iterator constructorIt, std::map<std::string, VulkanHppGenerator::CommandData>::const_iterator constructorIt,
std::string const & enter, std::string const & enter,
std::string const & leave ) const; std::string const & leave ) const;
std::string constructRAIIHandleConstructorArguments( std::string const & handleType, std::string constructRAIIHandleConstructorArguments( std::string const & handleType,
std::vector<ParamData> const & params, std::vector<ParamData> const & params,
bool singular, bool singular,
bool encounteredArgument ) const; bool encounteredArgument ) const;
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetVector( std::string constructRAIIHandleMemberFunctionResultSingleGetVector(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
size_t returnParamIndex ) const; size_t returnParamIndex,
bool definition ) const;
std::string constructRAIIHandleConstructorCallArguments( std::string const & handleType, std::string constructRAIIHandleConstructorCallArguments( std::string const & handleType,
std::vector<ParamData> const & params, std::vector<ParamData> const & params,
bool nonConstPointerAsNullptr, bool nonConstPointerAsNullptr,
@ -874,166 +880,182 @@ private:
std::string constructRAIIHandleDestructorCallArguments( std::string const & handleType, std::string constructRAIIHandleDestructorCallArguments( std::string const & handleType,
std::vector<ParamData> const & params ) const; std::vector<ParamData> const & params ) const;
std::tuple<std::string, std::string, std::string, std::string> std::tuple<std::string, std::string, std::string, std::string>
constructRAIIHandleDetails( std::pair<std::string, HandleData> const & handle, constructRAIIHandleDetails( std::pair<std::string, HandleData> const & handle,
std::string const & destructorCall ) const; std::string const & destructorCall ) const;
std::pair<std::string, std::string> std::string constructRAIIHandleMemberFunction( std::string const & command,
size_t initialSkipCount,
std::set<std::string> const & specialFunctions,
bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResultEnumerate( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResultEnumerate( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultEnumerateTwoVectors( bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultEnumerateTwoVectors(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
bool definition ) const;
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultGetTwoValues( std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultGetTwoValues(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices ) const;
std::pair<std::string, std::string> std::string
constructRAIIHandleMemberFunctionResultMulti( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResultMulti( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultMultiGetValue( bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResultMultiGetValue( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices,
bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultMultiGetVectorOfVoid(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultMultiGetVectorOfVoid( bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultMultiGetVectorOfVoidSingular(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultMultiGetVectorOfVoidSingular( bool definition ) const;
std::map<std::string, CommandData>::const_iterator commandIt, std::string
size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const;
std::pair<std::string, std::string>
constructRAIIHandleMemberFunctionResultMultiNoErrors( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResultMultiNoErrors( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
std::pair<std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResultSingle( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResultSingle( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetChain( bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResultSingleGetChain( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices,
bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultSingleGetVectorAndValue(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetVectorAndValue( bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultSingleGetVectorOfVoid(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetVectorOfVoid( bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultSingleGetVectorSingular(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; size_t returnParamIndex,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetVectorSingular( bool definition ) const;
std::string constructRAIIHandleMemberFunctionResultSingleGetVectorOfVoidSingular(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
size_t returnParamIndex ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetVectorOfVoidSingular( bool definition ) const;
std::map<std::string, CommandData>::const_iterator commandIt, std::string
size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const;
std::pair<std::string, std::string>
constructRAIIHandleMemberFunctionResultSingleNoErrors( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResultSingleNoErrors( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionResultSingleGetValue( bool definition ) const;
std::map<std::string, CommandData>::const_iterator commandIt, std::string
size_t initialSkipCount, constructRAIIHandleMemberFunctionResultSingleGetValue( std::map<std::string, CommandData>::const_iterator commandIt,
std::map<size_t, size_t> const & vectorParamIndices, size_t initialSkipCount,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
void constructRAIIHandleMemberFunction( std::string & functionDeclarations, std::vector<size_t> const & nonConstPointerParamIndices,
std::string & functionDefinitions, bool definition ) const;
std::string const & command,
size_t initialSkipCount,
std::set<std::string> const & specialFunctions ) const;
std::pair<std::string, std::string> std::pair<std::string, std::string>
constructRAIIHandleMemberFunctionBoolGetValue( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionBoolGetValue( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices ) const;
bool constructRAIIHandleMemberFunctionResult( std::string & functionDeclarations, std::string constructRAIIHandleMemberFunctionResult( std::map<std::string, CommandData>::const_iterator commandIt,
std::string & functionDefinitions, size_t initialSkipCount,
std::map<std::string, CommandData>::const_iterator commandIt, bool definition ) const;
size_t initialSkipCount ) const; std::string constructRAIIHandleMemberFunctionResult0Return(
std::tuple<bool, std::string, std::string> std::map<std::string, CommandData>::const_iterator commandIt, size_t initialSkipCount, bool definition ) const;
constructRAIIHandleMemberFunctionResult0Return( std::map<std::string, CommandData>::const_iterator commandIt, std::string
size_t initialSkipCount ) const;
std::tuple<bool, std::string, std::string>
constructRAIIHandleMemberFunctionResult1Return( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResult1Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
size_t returnParamIndex ) const; size_t returnParamIndex,
std::tuple<bool, std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResult2Return( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResult2Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::vector<size_t> const & returnParamIndices ) const; std::vector<size_t> const & returnParamIndices,
std::tuple<bool, std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionResult3Return( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionResult3Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::vector<size_t> const & returnParamIndices ) const; std::vector<size_t> const & returnParamIndices,
std::pair<std::string, std::string> bool definition ) const;
constructRAIIHandleMemberFunctions( std::pair<std::string, HandleData> const & handle, std::string constructRAIIHandleMemberFunctionDeclarations( std::pair<std::string, HandleData> const & handle,
std::set<std::string> const & specialFunctions ) const; std::set<std::string> const & specialFunctions ) const;
std::pair<std::string, std::string> std::string constructRAIIHandleMemberFunctionType( std::map<std::string, CommandData>::const_iterator commandIt,
constructRAIIHandleMemberFunctionType( std::map<std::string, CommandData>::const_iterator commandIt, size_t initialSkipCount,
size_t initialSkipCount, std::map<size_t, size_t> const & vectorParamIndices,
std::map<size_t, size_t> const & vectorParamIndices ) const; bool definition ) const;
std::pair<std::string, std::string> std::string constructRAIIHandleMemberFunctionVkType( std::map<std::string, CommandData>::const_iterator commandIt,
constructRAIIHandleMemberFunctionVkType( std::map<std::string, CommandData>::const_iterator commandIt, size_t initialSkipCount,
size_t initialSkipCount, std::map<size_t, size_t> const & vectorParamIndices,
std::map<size_t, size_t> const & vectorParamIndices ) const; bool definition ) const;
bool constructRAIIHandleMemberFunctionValue( std::string & functionDeclarations, std::string constructRAIIHandleMemberFunctionValue( std::map<std::string, CommandData>::const_iterator commandIt,
std::string & functionDefinitions, size_t initialSkipCount,
std::map<std::string, CommandData>::const_iterator commandIt, bool definition ) const;
size_t initialSkipCount ) const; std::string constructRAIIHandleMemberFunctionValue0Return(
std::tuple<bool, std::string, std::string> std::map<std::string, CommandData>::const_iterator commandIt, size_t initialSkipCount, bool definition ) const;
constructRAIIHandleMemberFunctionValue0Return( std::map<std::string, CommandData>::const_iterator commandIt, std::string constructRAIIHandleMemberFunctionVoid( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount ) const; size_t initialSkipCount,
bool constructRAIIHandleMemberFunctionVoid( std::string & functionDeclarations, bool definition ) const;
std::string & functionDefinitions, std::string constructRAIIHandleMemberFunctionVoid0Return(
std::map<std::string, CommandData>::const_iterator commandIt, std::map<std::string, CommandData>::const_iterator commandIt, size_t initialSkipCount, bool definition ) const;
size_t initialSkipCount ) const; std::string
std::tuple<bool, std::string, std::string>
constructRAIIHandleMemberFunctionVoid0Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount ) const;
std::tuple<bool, std::string, std::string>
constructRAIIHandleMemberFunctionVoid1Return( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionVoid1Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
size_t returnParamIndex ) const; size_t returnParamIndex,
std::tuple<bool, std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionVoid2Return( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionVoid2Return( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::vector<size_t> const & returnParamIndices ) const; std::vector<size_t> const & returnParamIndices,
std::pair<std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionVoidEnumerate( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionVoidEnumerate( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> constructRAIIHandleMemberFunctionVoidEnumerateChain( bool definition ) const;
std::map<std::string, CommandData>::const_iterator commandIt, std::string
size_t initialSkipCount, constructRAIIHandleMemberFunctionVoidEnumerateChain( std::map<std::string, CommandData>::const_iterator commandIt,
std::map<size_t, size_t> const & vectorParamIndices, size_t initialSkipCount,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::map<size_t, size_t> const & vectorParamIndices,
std::pair<std::string, std::string> std::vector<size_t> const & nonConstPointerParamIndices,
bool definition ) const;
std::string
constructRAIIHandleMemberFunctionVoidGetChain( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionVoidGetChain( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
std::pair<std::string, std::string> bool definition ) const;
std::string
constructRAIIHandleMemberFunctionVoidGetValue( std::map<std::string, CommandData>::const_iterator commandIt, constructRAIIHandleMemberFunctionVoidGetValue( std::map<std::string, CommandData>::const_iterator commandIt,
size_t initialSkipCount, size_t initialSkipCount,
std::map<size_t, size_t> const & vectorParamIndices, std::map<size_t, size_t> const & vectorParamIndices,
std::vector<size_t> const & nonConstPointerParamIndices ) const; std::vector<size_t> const & nonConstPointerParamIndices,
bool definition ) const;
std::string constructRAIIHandleSingularConstructorArguments( std::string constructRAIIHandleSingularConstructorArguments(
std::pair<std::string, HandleData> const & handle, std::pair<std::string, HandleData> const & handle,
std::map<std::string, CommandData>::const_iterator constructorIt ) const; std::map<std::string, CommandData>::const_iterator constructorIt ) const;
@ -1059,6 +1081,7 @@ private:
std::string determineEnhancedReturnType( CommandData const & commandData, std::string determineEnhancedReturnType( CommandData const & commandData,
size_t returnParamIndex, size_t returnParamIndex,
bool isStructureChain ) const; bool isStructureChain ) const;
size_t determineInitialSkipCount( std::string const & command ) const;
std::vector<std::map<std::string, CommandData>::const_iterator> std::vector<std::map<std::string, CommandData>::const_iterator>
determineRAIIHandleConstructors( std::string const & handleType, determineRAIIHandleConstructors( std::string const & handleType,
std::map<std::string, CommandData>::const_iterator destructorIt, std::map<std::string, CommandData>::const_iterator destructorIt,
@ -1198,7 +1221,6 @@ private:
void registerDeleter( std::string const & name, std::pair<std::string, CommandData> const & commandData ); void registerDeleter( std::string const & name, std::pair<std::string, CommandData> const & commandData );
void renameFunctionParameters(); void renameFunctionParameters();
void rescheduleRAIIHandle( std::string & str, void rescheduleRAIIHandle( std::string & str,
std::string & commandDefinitions,
std::pair<std::string, HandleData> const & handle, std::pair<std::string, HandleData> const & handle,
std::set<std::string> & listedHandles, std::set<std::string> & listedHandles,
std::set<std::string> const & specialFunctions ) const; std::set<std::string> const & specialFunctions ) const;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff