MCPcopy Create free account
hub / github.com/bwapi/bwapi / getFrameUpto

Method getFrameUpto

bwapi/Util/Source/Util/MemoryFrame.cpp:47–54  ·  view source on GitHub ↗

----------------------- GET FRAME UPTO -----------------------------

Source from the content-addressed store, hash-verified

45 }
46 //----------------------- GET FRAME UPTO -----------------------------
47 MemoryFrame MemoryFrame::getFrameUpto(const MemoryFrame &upto)
48 {
49 if(!this->isInside(upto.begin()))
50 {
51 throw GeneralException(__FUNCTION__ ": upto frame not inside this one");
52 }
53 return this->getSubFrame(0, (int)upto.begin() - (int)begin());
54 }
55 //----------------------- BEGIN --------------------------------------
56 void *MemoryFrame::begin() const
57 {

Callers 3

requestAdsMethod · 0.80
sendAsynMethod · 0.80

Calls 4

isInsideMethod · 0.95
getSubFrameMethod · 0.95
GeneralExceptionClass · 0.85
beginMethod · 0.80

Tested by

no test coverage detected