mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Minor cleanup work.
This commit is contained in:
parent
90dd121dc2
commit
65e9dd2e3c
File diff suppressed because it is too large
Load Diff
@ -756,21 +756,17 @@ private:
|
||||
std::string const & title ) const;
|
||||
std::string
|
||||
generateEnhancedReturnType( CommandData const & commandData, size_t returnParamIndex, bool isStructureChain ) const;
|
||||
std::string generateStructForwardDeclarations( std::vector<RequireData> const & requireData,
|
||||
std::string const & title ) const;
|
||||
|
||||
std::string generateEnum( std::pair<std::string, EnumData> const & enumData ) const;
|
||||
std::string generateEnums( std::vector<RequireData> const & requireData,
|
||||
std::set<std::string> & listedEnums,
|
||||
std::string const & title ) const;
|
||||
std::string generateEnumInitializer( TypeInfo const & type,
|
||||
std::vector<std::string> const & arraySizes,
|
||||
std::vector<EnumValueData> const & values,
|
||||
bool bitmask ) const;
|
||||
std::string generateEnums( std::vector<RequireData> const & requireData,
|
||||
std::set<std::string> & listedEnums,
|
||||
std::string const & title ) const;
|
||||
std::string generateEnumToString( std::pair<std::string, EnumData> const & enumData ) const;
|
||||
std::string generateFailureCheck( std::vector<std::string> const & successCodes ) const;
|
||||
std::string generateFunctionBodyEnhanced( std::string const & indentation,
|
||||
std::string const & name,
|
||||
std::string generateFunctionBodyEnhanced( std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t initialSkipCount,
|
||||
size_t returnParamIndex,
|
||||
@ -779,33 +775,28 @@ private:
|
||||
bool twoStep,
|
||||
std::string const & enhancedReturnType,
|
||||
bool withAllocator ) const;
|
||||
std::string generateFunctionBodyEnhancedLocalReturnVariable( std::string const & indentation,
|
||||
CommandData const & commandData,
|
||||
std::string generateFunctionBodyEnhancedLocalReturnVariable( CommandData const & commandData,
|
||||
size_t returnParamIndex,
|
||||
std::string const & enhancedReturnType,
|
||||
bool withAllocator ) const;
|
||||
std::string
|
||||
generateFunctionBodyEnhancedMultiVectorSizeCheck( std::string const & indentation,
|
||||
std::string const & name,
|
||||
generateFunctionBodyEnhancedMultiVectorSizeCheck( std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t initialSkipCount,
|
||||
size_t returnParamIndex,
|
||||
std::map<size_t, size_t> const & vectorParamIndices ) const;
|
||||
std::string generateFunctionBodyEnhancedReturnResultValue( std::string const & indentation,
|
||||
std::string const & returnName,
|
||||
std::string generateFunctionBodyEnhancedReturnResultValue( std::string const & returnName,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t initialSkipCount,
|
||||
size_t returnParamIndex,
|
||||
bool twoStep ) const;
|
||||
std::string generateFunctionBodyEnhancedSingleStep( std::string const & indentation,
|
||||
std::string const & name,
|
||||
std::string generateFunctionBodyEnhancedSingleStep( std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t returnParamIndex,
|
||||
size_t templateParamIndex,
|
||||
std::map<size_t, size_t> const & vectorParamIndices ) const;
|
||||
std::string generateFunctionBodyEnhancedTwoStep( std::string const & indentation,
|
||||
std::string const & name,
|
||||
std::string generateFunctionBodyEnhancedTwoStep( std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t returnParamIndex,
|
||||
size_t templateParamIndex,
|
||||
@ -837,6 +828,10 @@ private:
|
||||
std::string generateFunctionPointerCheck( std::string const & function, std::string const & referencedIn ) const;
|
||||
std::string generateHandle( std::pair<std::string, HandleData> const & handle,
|
||||
std::set<std::string> & listedHandles ) const;
|
||||
std::string generateHandleCommandDeclarations( std::set<std::string> const & commands ) const;
|
||||
std::string generateHandleDependencies( std::pair<std::string, HandleData> const & handle,
|
||||
std::set<std::string> & listedHandles ) const;
|
||||
std::string generateHandleEmpty( HandleData const & handleData ) const;
|
||||
std::string generateHashStructures( std::vector<RequireData> const & requireData, std::string const & title ) const;
|
||||
std::string
|
||||
generateLenInitializer( std::vector<MemberData>::const_iterator mit,
|
||||
@ -844,7 +839,6 @@ private:
|
||||
std::vector<std::vector<MemberData>::const_iterator>>::const_iterator litit,
|
||||
bool mutualExclusiveLens ) const;
|
||||
std::string generateName( TypeInfo const & typeInfo ) const;
|
||||
std::string generateNoDiscardStandard( CommandData const & commandData ) const;
|
||||
std::pair<std::string, std::string> generateProtection( std::string const & referencedIn,
|
||||
std::string const & protect ) const;
|
||||
std::pair<std::string, std::string> generateProtection( std::string const & type, bool isAliased ) const;
|
||||
@ -859,6 +853,9 @@ private:
|
||||
std::map<std::string, CommandData>::const_iterator constructorIt,
|
||||
std::string const & enter,
|
||||
std::string const & leave ) const;
|
||||
std::string generateStructForwardDeclarations( std::vector<RequireData> const & requireData,
|
||||
std::string const & title ) const;
|
||||
|
||||
std::pair<std::string, std::string>
|
||||
generateRAIIHandleConstructors( std::pair<std::string, HandleData> const & handle ) const;
|
||||
std::string generateRAIIHandleConstructorArguments( std::string const & handleType,
|
||||
|
Loading…
Reference in New Issue
Block a user