Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Fork of header_main by
vector.h
- Committer:
- klauss
- Date:
- 2014-09-11
- Revision:
- 4:de46f0d9b14d
- Parent:
- 0:4d17cd9c8f9d
File content as of revision 4:de46f0d9b14d:
#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
