I have a very high level question, not dealing with bits and bytes of sqlite: 

I currently have an object called entity_list, that has a list of all entities 
on the system. 
While thinking about it, it sounds like a list of entities is like having a 
database. Would 
it be possible to transfer the object entity-list into a sqlite database ? 


How would my schema look ? 


I have enclosed an idea of how my class looks. Any links to useful information 
is 
appreciated! 


Kavita 


--------------- 

class entity_list 
{ 
public: 
entity_list(); 
~entity_list(); 
entity *get_specific_entity(int entity_id); 
entity *add_entity(int entity_id, void *attr_list,...); 
remove_entity(int entity_id); 
vector<entity*> m_entity_list; 


private: 
}; 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to