debugs removidos - ligacao em pares ok

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Fork of header_main by VZTECH

vector.h

Committer:
klauss
Date:
2014-09-12
Revision:
6:9695697dea4b
Parent:
4:de46f0d9b14d

File content as of revision 6:9695697dea4b:

#ifndef __VECTOR_H__
#define __VECTOR_H__

#include <stdlib.h>
#include "object.h"
#include "debug.h"

class Vector{
    private:
        Object **objects;
        int elements;

    public: 
        Vector();
        ~Vector();
        void add( Object * e );
        Object * get_element( int position );
        void remove_element( int position );
        int find_element( Object * e );
        Object * find_element( int ext, int port );
        int size();
};
#endif