MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / GetPlacesGroupPtr

Method GetPlacesGroupPtr

ImGuiFileDialog.cpp:3328–3333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3326}
3327
3328IGFD::PlacesFeature::GroupStruct* IGFD::PlacesFeature::GetPlacesGroupPtr(const std::string& vGroupName) {
3329 if (m_Groups.find(vGroupName) != m_Groups.end()) {
3330 return m_Groups.at(vGroupName).get();
3331 }
3332 return nullptr;
3333}
3334
3335bool IGFD::PlacesFeature::GroupStruct::AddPlace(const std::string& vPlaceName, const std::string& vPlacePath, const bool vCanBeSaved, const FileStyle& vStyle) {
3336 if (vPlaceName.empty() || vPlacePath.empty()) {

Callers 2

IGFD_AddPlaceFunction · 0.80
IGFD_RemovePlaceFunction · 0.80

Calls 1

endMethod · 0.80

Tested by

no test coverage detected