Class VideoStore code example in C++