diff options
Diffstat (limited to 'vcal.cpp')
-rw-r--r-- | vcal.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,14 +1,19 @@ #include "vcal.h" #include "err.h" +#include <iostream> + std::ostream& operator<<(std::ostream& o, vcomponent* self) { for (int i = 0; i < 40; i++) o << '_'; o << _YELLOW << std::endl << "VComponet (Type := " << self->type << _RESET - << self->clines - << std::endl << "Components:" << std::endl - << self->components; + // << self->clines + << std::endl << "Components:" << std::endl; + for (auto v : self->components) { + o << &v; + } + //<< self->components; return o; } |