Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/src/     Datei vom 18.9.2025 mit Größe 1 kB image not shown  

Quelle  objset.h   Sprache: C

 

/****************************************************************************
**
**  This file is part of GAP, a system for computational discrete algebra.
**
**  Copyright of GAP belongs to its developers, whose names are too numerous
**  to list here. Please refer to the COPYRIGHT file for details.
**
**  SPDX-License-Identifier: GPL-2.0-or-later
*/


#ifndef GAP_OBJSET_H
#define GAP_OBJSET_H

#include "common.h"

enum {
    OBJSET_HDRSIZE = 4,

    OBJSET_SIZE = 0,
    OBJSET_BITS = 1,
    OBJSET_USED = 2,
    OBJSET_DIRTY = 3,
};

Obj  NewObjSet(void);
Int  FindObjSet(Obj set, Obj obj);
void AddObjSet(Obj set, Obj obj);
void RemoveObjSet(Obj set, Obj obj);
void ClearObjSet(Obj set);
Obj  ObjSetValues(Obj set);

Obj  NewObjMap(void);
Int  FindObjMap(Obj map, Obj key);
Obj  LookupObjMap(Obj map, Obj key);
void AddObjMap(Obj map, Obj key, Obj value);
void RemoveObjMap(Obj map, Obj obj);
void ClearObjMap(Obj map);
Obj  ObjMapValues(Obj map);
Obj  ObjMapKeys(Obj map);

/****************************************************************************
**
*F * * * * * * * * * * * * * initialize module * * * * * * * * * * * * * * *
*/


/****************************************************************************
**
*F  InitInfoObjSets() . . . . . . . . . . . . . . . . table of init functions
*/

StructInitInfo *InitInfoObjSets( void );

#endif // GAP_OBJSET_H

Messung
CHZG
919810096

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland