aboutsummaryrefslogtreecommitdiff
path: root/vcal.cpp
blob: 8f49b7d85d2c11d128a031ccb21684192a31c2f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
	for (auto v : self->components) {
		o << &v;
	}
	  //<< self->components;

	return o;
}