The XCAFDoc_DimTolTool class has a method GetGDTPresentations:
GetGDTPresentations(theGDTLabelToShape: NCollection_IndexedDataMap<TDF_Label, TopoDS_Shape, TDF_LabelMapHasher>): void;
But the type of the argument NCollection_IndexedDataMap<TDF_Label, TopoDS_Shape> seems to be missing, so I can't call this method. I'm using the full build.