MCPcopy Create free account
hub / github.com/Kitware/CMake / GetAttribute

Method GetAttribute

Source/cmXCodeObject.h:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 std::string const& GetComment() const { return this->Comment; }
121 bool HasComment() const { return (!this->Comment.empty()); }
122 cmXCodeObject* GetAttribute(char const* name) const
123 {
124 auto const i = this->ObjectAttributes.find(name);
125 if (i != this->ObjectAttributes.end()) {
126 return i->second;
127 }
128 return nullptr;
129 }
130 // search the attribute list for an object of the specified type
131 cmXCodeObject* GetObject(cmXCodeObject::PBXType t) const
132 {

Callers 14

CreateXCodeTargetMethod · 0.45
CreateCustomCommandsMethod · 0.45
CreateBuildSettingsMethod · 0.45
AddDependTargetMethod · 0.45
AddEmbeddedObjectsMethod · 0.45
CreateGroupsMethod · 0.45
CreatePBXGroupMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected