@@ -329,8 +329,8 @@ class IGFD_API Utils {
329329 static void SetBuffer (char * vBuffer, size_t vBufferLen, const std::string& vStr);
330330 static std::string UTF8Encode (const std::wstring& wstr);
331331 static std::wstring UTF8Decode (const std::string& str);
332- static std::vector<std::string> SplitStringToVector (const std::string& vText, const std::string& vDelimiterPattern, const bool & vPushEmpty);
333- static std::vector<std::string> SplitStringToVector (const std::string& vText, const char & vDelimiter, const bool & vPushEmpty);
332+ static std::vector<std::string> SplitStringToVector (const std::string& vText, const std::string& vDelimiterPattern, const bool vPushEmpty);
333+ static std::vector<std::string> SplitStringToVector (const std::string& vText, const char & vDelimiter, const bool vPushEmpty);
334334 static std::string LowerCaseString (const std::string& vString); // turn all text in lower case for search facilitie
335335 static size_t GetCharCountInString (const std::string& vString, const char & vChar);
336336 static size_t GetLastCharPosWithMinCharCount (const std::string& vString, const char & vChar, const size_t & vMinCharCount);
@@ -397,8 +397,8 @@ class IGFD_API FilterInfos {
397397 bool regexExist (const std::string& vFilter) const ; // is regex filter exist
398398 bool exist (const FileInfos& vFileInfos, bool vIsCaseInsensitive) const ; // is filter exist
399399 void setCollectionTitle (const std::string& vTitle); // set the collection title
400- void addFilter (const std::string& vFilter, const bool & vIsRegex); // add a filter
401- void addCollectionFilter (const std::string& vFilter, const bool & vIsRegex); // add a filter in collection
400+ void addFilter (const std::string& vFilter, const bool vIsRegex); // add a filter
401+ void addCollectionFilter (const std::string& vFilter, const bool vIsRegex); // add a filter in collection
402402 static std::string transformAsteriskBasedFilterToRegex (const std::string& vFilter); // will transform a filter who contain * to a regex
403403};
404404
@@ -455,10 +455,10 @@ class IGFD_API FileType {
455455
456456public:
457457 FileType ();
458- FileType (const ContentType& vContentType, const bool & vIsSymlink);
458+ FileType (const ContentType& vContentType, const bool vIsSymlink);
459459
460460 void SetContent (const ContentType& vContentType);
461- void SetSymLink (const bool & vIsSymlink);
461+ void SetSymLink (const bool vIsSymlink);
462462
463463 bool isValid () const ;
464464 bool isDir () const ;
@@ -504,9 +504,9 @@ class IGFD_API FileInfos {
504504
505505public:
506506 bool SearchForTag (const std::string& vTag) const ; // will search a tag in fileNameExt and fileNameExt_optimized
507- bool SearchForExt (const std::string& vExt, const bool & vIsCaseInsensitive,
507+ bool SearchForExt (const std::string& vExt, const bool vIsCaseInsensitive,
508508 const size_t & vMaxLevel = EXT_MAX_LEVEL) const ; // will check the fileExtLevels levels for vExt, until vMaxLevel
509- bool SearchForExts (const std::string& vComaSepExts, const bool & vIsCaseInsensitive,
509+ bool SearchForExts (const std::string& vComaSepExts, const bool vIsCaseInsensitive,
510510 const size_t & vMaxLevel = EXT_MAX_LEVEL) const ; // will check the fileExtLevels levels for vExts (ext are coma separated), until vMaxLevel
511511 bool FinalizeFileTypeParsing (const size_t & vMaxDotToExtract); // finalize the parsing the file (only a file or link to file. no dir)
512512};
@@ -818,7 +818,7 @@ class IGFD_API PlacesFeature {
818818 bool AddPlace ( // add a place by code
819819 const std::string& vPlaceName, // place name
820820 const std::string& vPlacePath, // place path
821- const bool & vCanBeSaved, // prevent serialization
821+ const bool vCanBeSaved, // prevent serialization
822822 const FileStyle& vStyle = {}); // style
823823 void AddPlaceSeparator (const float & vThickness = 1 .0f );
824824 bool RemovePlace ( // remove a place by code, return true if succeed
@@ -840,14 +840,14 @@ class IGFD_API PlacesFeature {
840840
841841public:
842842 std::string SerializePlaces ( // serialize place : return place buffer to save in a file
843- const bool & vForceSerialisationForAll = true ); // for avoid serialization of places with flag 'canBeSaved to false'
843+ const bool vForceSerialisationForAll = true ); // for avoid serialization of places with flag 'canBeSaved to false'
844844 void DeserializePlaces ( // deserialize place : load place buffer to load in the dialog (saved from
845845 const std::string& vPlaces); // previous use with SerializePlaces()) place buffer to load
846846 bool AddPlacesGroup ( // add a group
847847 const std::string& vGroupName, // the group name
848848 const size_t & vDisplayOrder, // the display roder of the group
849- const bool & vCanBeEdited = false , // let the user add/remove place in the group
850- const bool & vOpenedByDefault = true ); // hte group is opened by default
849+ const bool vCanBeEdited = false , // let the user add/remove place in the group
850+ const bool vOpenedByDefault = true ); // hte group is opened by default
851851 bool RemovePlacesGroup (const std::string& vGroupName); // remove the group
852852 GroupStruct* GetPlacesGroupPtr (const std::string& vGroupName); // get the group, if not existed, will be created
853853#endif // USE_PLACES_FEATURE
@@ -1008,7 +1008,7 @@ class IGFD_API FileDialog : public PlacesFeature, public KeyExplorerFeature, pub
10081008 // - m_DrawThumbnailsGridView
10091009 void m_BeginFileColorIconStyle (std::shared_ptr<FileInfos> vFileInfos, bool & vOutShowColor, std::string& vOutStr,
10101010 ImFont** vOutFont); // begin style apply of filter with color an icon if any
1011- void m_EndFileColorIconStyle (const bool & vShowColor, ImFont* vFont); // end style apply of filter
1011+ void m_EndFileColorIconStyle (const bool vShowColor, ImFont* vFont); // end style apply of filter
10121012
10131013 void m_DisplayFileInfosTooltip (const int32_t & vRowIdx, const int32_t & vColumnIdx, std::shared_ptr<FileInfos> vFileInfos);
10141014};
0 commit comments