aboutsummaryrefslogtreecommitdiff
path: root/vcal.cpp
blob: a104664d87a3226e862e470e1ed0e32b99ff2f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "vcal.h"
#include "err.h"

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;

	return o;
}