MCPcopy Create free account
hub / github.com/Singular/Singular / hasProperty

Method hasProperty

gfanlib/gfanlib_polymakefile.cpp:238–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237
238bool PolymakeFile::hasProperty(const char *p, bool doAssert)
239{
240 if(doAssert)
241 if(findProperty(p)==properties.end())
242 {
243 fprintf(stderr,"Property: \"%s\" not found in file.\n",p);
244 assert(0);
245 }
246
247 return findProperty(p)!=properties.end();
248}
249
250
251Integer PolymakeFile::readCardinalProperty(const char *p)

Callers 2

readFanMethod · 0.80
ZFanMethod · 0.80

Calls 2

assertFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected