Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

GetFEM: dal Namespace Reference
GetFEM  5.4.2
dal Namespace Reference

Dynamic Array Library. More...

Classes

struct  dna_const_iterator
 Constant iterator class for dynamic array. More...
 
struct  dna_iterator
 Iterator class for dynamic array. More...
 
class  dynamic_array
 Dynamic Array. More...
 
struct  enr_static_stored_object
 Pointer to an object with the dependencies. More...
 
struct  enr_static_stored_object_key
 Pointer to a key with a coherent order. More...
 
class  naming_system
 Associate a name to a method descriptor and store method descriptors. More...
 
class  singleton
 singleton class. More...
 
class  static_stored_object
 base class for static stored objects More...
 
struct  stored_object_tab
 Table of stored objects. More...
 

Functions

bool exists_stored_object (pstatic_stored_object o)
 Test if an object is stored.
 
pstatic_stored_object search_stored_object (pstatic_stored_object_key k)
 Gives a pointer to an object from a key pointer.
 
void test_stored_objects (void)
 Test the validity of the whole global storage.
 
void add_dependency (pstatic_stored_object o1, pstatic_stored_object o2)
 Add a dependency, object o1 will depend on object o2.
 
bool del_dependency (pstatic_stored_object o1, pstatic_stored_object o2)
 remove a dependency. More...
 
void add_stored_object (pstatic_stored_object_key k, pstatic_stored_object o, permanence perm=STANDARD_STATIC_OBJECT)
 Add an object with two optional dependencies.
 
void del_stored_objects (std::list< pstatic_stored_object > &to_delete, bool ignore_unstored)
 Delete a list of objects and their dependencies.
 
void del_stored_object (const pstatic_stored_object &o, bool ignore_unstored=false)
 Delete an object and the object which depend on it.
 
void list_stored_objects (std::ostream &ost)
 Show a list of stored objects (for debugging purpose).
 
size_t nb_stored_objects (void)
 Return the number of stored objects (for debugging purpose).
 
void del_stored_objects (int perm)
 Delete all the object whose permanence is greater or equal to perm.
 
template<typename OBJECT_TYPE >
void delete_specific_type_stored_objects (bool all_threads=false)
 delete all the specific type of stored objects
 

Detailed Description

Dynamic Array Library.

Function Documentation

◆ del_dependency()

bool dal::del_dependency ( pstatic_stored_object  o1,
pstatic_stored_object  o2 
)

remove a dependency.

Return true if o2 has no more dependent object.

Definition at line 256 of file dal_static_stored_objects.cc.