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
vector.h
00001 #ifndef __VECTOR_H__ 00002 #define __VECTOR_H__ 00003 00004 #include <stdlib.h> 00005 #include "object.h" 00006 00007 class Vector{ 00008 private: 00009 Object **objects; 00010 int elements; 00011 00012 public: 00013 Vector(); 00014 ~Vector(); 00015 void add( Object * e ); 00016 Object * get_element( int position ); 00017 void remove_element( int position ); 00018 int find_element( Object * e ); 00019 Object * find_element( int ext, int port ); 00020 int size(); 00021 }; 00022 #endif
Generated on Fri Jul 22 2022 09:19:18 by
1.7.2