#include "library.h" namespace domain { Library::Library(string name, string libraryInfo, string header, string componentDirectory, vector addressSpaces, vector components, vector buses, vector connections, map messages) : name(name), libraryInfo(libraryInfo), header(header), componentDirectory(componentDirectory), addressSpaces(addressSpaces), components(components), buses(buses), connections(connections), messages(messages) {} std::string Library::getName() { return name; } std::string Library::getLibraryInfo() { return libraryInfo; } std::string Library::getHeader() { return header; } std::string Library::getComponentDirectory() { return componentDirectory; } std::vector Library::getAddressSpaces() { return addressSpaces; } std::vector Library::getComponents() { return components; } std::vector Library::getBuses() { return buses; } std::vector Library::getConnections() { return connections; } std::map Library::getMessages() { return messages; } AddressSpace &Library::getAddressSpace(std::string addressSpace) { for(uint i=0; i Library::getConnection(std::string component, std::string pin, std::string bus) { for(uint i=0; i