//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / TRS
//
//File: node.h
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/10/06 13:38:23 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Harri Sunila
//
//Description:
//      Description of a node in network
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __TRS_NODE_H__
#define __TRS_NODE_H__

#include <typeinfo>
#include <string>
#include "link.h"
#include <list>

typedef list<trsLink> trsLinkList;

class trsNode
{
    public:
        trsNode(void);
        trsNode(const string &prefix_,
                trsLinkList &links_);
        trsNode(const trsNode &other_);
        
        virtual ~trsNode(void);

        trsNode &operator=(const trsNode &other_);

        string getPrefix(void) const;
        trsLinkList &getLinks(void) const;

    private:
        string _prefix;
        trsLinkList _links;
};

#endif // __TRS_NODE_H__
