MCPcopy Create free account
hub / github.com/Tom94/tev / VgCommand

Method VgCommand

include/tev/VectorGraphics.h:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 };
52
53 VgCommand() : type{EType::Invalid} {}
54 VgCommand(EType _type, std::span<const float> _data) : type{_type}, data{_data.begin(), _data.end()} {
55 if (size() != data.size()) {
56 throw std::runtime_error{"VgCommand constructed with invalid amount of data"};

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected