#include "EdgeHolder.h" namespace msdfgen { void EdgeHolder::swap(EdgeHolder &a, EdgeHolder &b) { … } EdgeHolder::EdgeHolder() : … { … } EdgeHolder::EdgeHolder(EdgeSegment *segment) : … { … } EdgeHolder::EdgeHolder(Point2 p0, Point2 p1, EdgeColor edgeColor) : … { … } EdgeHolder::EdgeHolder(Point2 p0, Point2 p1, Point2 p2, EdgeColor edgeColor) : … { … } EdgeHolder::EdgeHolder(Point2 p0, Point2 p1, Point2 p2, Point2 p3, EdgeColor edgeColor) : … { … } EdgeHolder::EdgeHolder(const EdgeHolder &orig) : … { … } #ifdef MSDFGEN_USE_CPP11 EdgeHolder::EdgeHolder(EdgeHolder &&orig) : edgeSegment(orig.edgeSegment) { orig.edgeSegment = NULL; } #endif EdgeHolder::~EdgeHolder() { … } EdgeHolder &EdgeHolder::operator=(const EdgeHolder &orig) { … } #ifdef MSDFGEN_USE_CPP11 EdgeHolder &EdgeHolder::operator=(EdgeHolder &&orig) { if (this != &orig) { delete edgeSegment; edgeSegment = orig.edgeSegment; orig.edgeSegment = NULL; } return *this; } #endif EdgeSegment &EdgeHolder::operator*() { … } const EdgeSegment &EdgeHolder::operator*() const { … } EdgeSegment *EdgeHolder::operator->() { … } const EdgeSegment *EdgeHolder::operator->() const { … } operator msdfgen::EdgeSegment *() operator const msdfgen::EdgeSegment *() }