Defines
AEM_STEP_COEFFICIENT - AEM_STEP_COEFFICIENT : The coefficient between step value and step size.
Enums
mode - mode : Mode of the allocation.
- mUndefined : Undefined.
- mDefault : Extent is handled using step value.
- mFit : Extent fits with amount.
Typedefs
step_size__ step_value__ - step_size__ : Type of a step size.
- step_value__ : Type of a step value.
Classes
amount_extent_manager_ amount_extent_manager__ amount_extent_manager_< typename r >
A amount/extent manager.
Methods
Amount AmountToAllocate Extent First Force GetNoDecreasingState GetStepSize GetStepValue Init IsEmpty Last Next Previous SetNoDecreasingState SetStepValue - Amount : epeios::size__Return the amount.
- AmountToAllocate : bso::bool__
- epeios::size__ & Size
- mode Mode
Return true if a allocation is needed for size Size. Size then contains the real size to allocate. If Mode = mFit, Extent is forced to be equal to Size.
- Extent : epeios::size__Return the extent.
- First : rReturn position of the first object of the set.
- Force : bso::bool__Force the amount and extent to exactly Size. Return true if the amount or the extent wasn't equal to Size.
- GetNoDecreasingState : bso::bool__Return true if it grows only.
- GetStepSize : step_size__Return the step size.
- GetStepValue : step_value__Return the step value.
- Init : voidInitialization.
- IsEmpty : bso::bool__Return true if empty, false otherwise.
- Last : rReturn position of the last object of the set.
- Next : rReturn the position of the object after Current (to the top).
- Previous : rReturn the position of the object before Current (to the bottom).
- SetNoDecreasingState : voidIf State at true, never decrease.
- SetStepValue : voidSet the step to StepValue (< 128).
amount_extent_manager__< int extent, typename r >
Amount/extent manager for fixed size set of object.
Methods
Amount AmountToAllocate Extent First Init Last Next Previous - Amount : epeios::size__Return the amount.
- AmountToAllocate : bso::bool__Return true if a allocation is needed for size Size. Size then contains the real size to allocate.
- Extent : epeios::size__Return the extent.
- First : rReturn position of the first object of the set.
- Init : voidInitialization.
- Last : rReturn position of the last object of the set.
- Next : rReturn the position of the object after Current (to the top).
- Previous : rReturn the position of the object before Current (to the bottom).
Library bch
BunCH.- Version : 1.14
- Release : 2001/07/27 09:48:13
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Functions Classes
bunch_ bunch__ bunch_core_ bunch_< class type, typename r >
- bunch_core_<type, tym::E_MEMORYt_( type, r ), aem::amount_extent_manager_< r >, r >
A set of static object of type type. Use E_BUNCH_( type ) rather then directly this class.
Methods
Adjust - Adjust : voidAdjust the extent to amount.
bunch__< typename type, int size, typename r >
- bunch_core_< type, tym::E_MEMORYt__( type, size, r ), aem::amount_extent_manager__< size, r >, r >
A set of maximum size static objects of type type. Use SET__( type, size ) rather then directly this class.
bunch_core_< class type, class mmr, class mng, typename r >
Set core. Don't use ; for internal use only.
Methods
Add Allocate Delete Fill Init Insert Memory New Position Truncate WriteAndAdjust - Add : rAdd the object Object. Return the position where object added.
- Add : r
- const type * Buffer
- epeios::size__ Amount
Adding Amount object from Buffer. Return the position of the first object added.
- Add : r
- const bunch_core_ & Set
- epeios::size__ Amount
Adding Amount object from Set. Return the position of the first object added.
- Add : rAdd Set. Return the position where added.
- Allocate : void
- epeios::size__ Size
- aem::mode Mode = aem::mDefault
Allocate Size objects. Extent is forced to Size when Mode = mFit.
- Delete : void
- r Position
- epeios::size__ Amount = 1
Delete Amount objects at position Position. The size of the set is reduced.
- Fill : void
- const type & Object
- epeios::size__ Count
- r Position = 0
Fill at Position with Object Count time.
- Fill : void
- const type & Object
- r Position = 0
Fill from Position with Object.
- Init : voidInitialization.
- Init : void
- const type * Seed
- epeios::size__ Size
Initialization with Seed containing Size objects.
- Insert : void
- const bunch_core_ & Source
- epeios::size__ Amount
- r PosSource
- r PosDest
Insert at PosDest Amount objects from Source at PosSource.
- Insert : void
- const bunch_core_ & Set
- r Position
Insert Set at Position.
- Insert : void
- const type & Object
- r Position
Insert Object at Position
- Insert : void
- const type * Source
- epeios::size__ Amount
- r Position
Insert at Position Amount objects from Source.
- Memory : mmr &Return reference to memory.
- New : r
- epeios::size__ Amount = 1
Return the position of the first of Amount new object.
- Position : r
- const type & Object
- r Begin
- r End
Return position of Object between Begin (included) and End (excluded), or NONE if not found.
- Position : r
- const type & Object
- r Begin = 0
Return position of Object beginning at Begin (included), or NONE if not found.
- Truncate : void
- epeios::size__ Amount = 1
Remove Amount objects from the end of the set.
- WriteAndAdjust : void
- const bunch_core_ & Set
- epeios::size__ Amount
- r Position = 0
- r Offset = 0
Same as Write(), but allocate additionnaly mmr if needed.
- WriteAndAdjust : void
- const type * Buffer
- epeios::size__ Amount
- r Position = 0
Same as Write(), but allocate additionnaly mmr if needed.
Functions
Compare - Compare : bso::sbyte__
- const E_BUNCHt_(tr) & S1
- const E_BUNCHt_(tr) & S2
- r BeginS1 = 0
- r BeginS2 = 0
Return S1 - S2 which respectively begins at BeginS1 et Begins2.
- Compare : bso::sbyte__
- const E_BUNCHt_(tr) & S1
- const E_BUNCHt_(tr) & S2
- r BeginS1
- r BeginS2
- epeios::size__ Amount
Return S1 - S2 which respectively begin at BeginS1 et Begins2 and have a length of Amount.
Library bitbch
BInary digitT BunCH.- Version : 1.9
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Functions Classes
bibit_bunch_ bit_bunch_ bit_bunch__ bibit_bunch_< typename r >
A pairs of bits set.
Objects
- bit_bunch_<r> T1 : Les tableau des bits.
Methods
Add Allocate Init Read Write operator () - Add : rAdd Value. Return position where added.
- Allocate : voidAllocate enough room to contain Size pairs of bits.
- Init : voidInitialization.
- Read : receptacle__Return the value at Position.
- Write : void
- receptacle__ Value
- r Position
Write Value tou Position.
- operator () : receptacle__Return the value at position Position.
bit_bunch_< typename r >
- aem::amount_extent_manager_<r>
Bits set.
Methods
Add Allocate Init New Read Write operator () - Add : rAdd Value to the end of the set.
- Allocate : void
- tym::size__ Size
- aem::mode Mode = aem::mDefault
Allocate enough room to contain Size bits.
- Init : voidInitialization.
- New : rReturn the position of the first of Size new bits.
- Read : bso::bool__Return the value at position Position.
- Write : void
- bso::bool__ Value
- r Position
Write Value at Position.
- operator () : bso::bool__Return the value at position Position.
bit_bunch__< int t, typename r >
A set of a maximum of t bits.
Methods
Bottom Down First Last Next Previous Read Reset Size Top Up Write operator () - Bottom : rReturn the position of the bottom of the set.
- Down : rReturn the position of the bit previous to Current.
- First : rReturn the first bit at Value.
- Last : rReturn the last bit at Value.
- Next : r
- r Current
- bso::bool__ Value
Return the position of the next bit after Current at Value.
- Previous : r
- r Courant
- bso::bool__ Value
Return the position of the previous bit after Current at Value.
- Read : bso::bool__Return the value at position Position.
- Reset : void
- bso::bool__ Value = false
Set all the bits to Value.
- Size : tym::size__Return the size.
- Top : rReturn the position of the top of the set.
- Up : rReturn the position of the bit next to Current.
- Write : void
- bso::bool__ Value
- r Position
Write Value to Position.
- operator () : bso::bool__Return the value at position Position.
Functions
And Compare Count Not Or XOr - And : void
- const t & O1
- const t & O2
- t & D
D = O1 AND O2.
- Compare : bso::bool__
- bit_bunch & S1
- bit_bunch & S2
- tym::size__ Quantity = 0
- tym::row__ P1 = 0
- tym::row__ P2 = 0
Compare Quantity bits from S1 and S2 beginning at P1 and P2.
- Count : tym::bsize__Return the count of bit at true in O.
- Not : voidD = NOT O.
- Or : void
- const t & O1
- const t & O2
- t & D
D = O1 OR O2.
- XOr : void
- const t & O1
- const t & O2
- t & D
D = O1 XOR O2.
Library bso
- Version : 1.6
- Release : 2001/05/27 20:15:41
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Typedefs Defines
BSO_BSIZE_MAX BSO_BSIZE_MIN BSO_NB_BITS_SBYTE BSO_NB_BITS_SLONG BSO_NB_BITS_SSHORT BSO_NB_BITS_UBYTE BSO_NB_BITS_ULONG BSO_NB_BITS_USHORT BSO_SBYTE_MAX BSO_SBYTE_MIN BSO_SLONG_MAX BSO_SLONG_MIN BSO_SSHORT_MAX BSO_SSHORT_MIN BSO_UBYTE_MAX BSO_UBYTE_MIN BSO_ULONG_MAX BSO_ULONG_MIN BSO_USHORT_MAX BSO_USHORT_MIN - BSO_BSIZE_MAX : Maximal value of a size__.
- BSO_BSIZE_MIN : Minimal value of a size__.
- BSO_NB_BITS_SBYTE : Size, in bit, of a sbyte__.
- BSO_NB_BITS_SLONG : Size, in bit, of a slong__.
- BSO_NB_BITS_SSHORT : Size, in bit, of a sshort__.
- BSO_NB_BITS_UBYTE : Size, in bit, of a ubyte__.
- BSO_NB_BITS_ULONG : Size, in bit, of a ulong__.
- BSO_NB_BITS_USHORT : Size, in bit, of a ushort__.
- BSO_SBYTE_MAX : Maximal value of a sbyte__.
- BSO_SBYTE_MIN : Minimal value of a sbyte__.
- BSO_SLONG_MAX : Maximal value of a slong__.
- BSO_SLONG_MIN : Minimal value of a slong__.
- BSO_SSHORT_MAX : Maximal value of a sshort__.
- BSO_SSHORT_MIN : Minimal value of a sshort__.
- BSO_UBYTE_MAX : Maximal value of a ubyte__.
- BSO_UBYTE_MIN : Minimal value of a ubyte__.
- BSO_ULONG_MAX : Maximal value of a ulong__.
- BSO_ULONG_MIN : Minimal value of a ulong__.
- BSO_USHORT_MAX : Maximal value of a ushort__.
- BSO_USHORT_MIN : Minimal value of a ushort__.
Typedefs
bool__ bsize__ float__ lfloat__ raw__ sbyte__ sfloat__ sign__ slong__ ubyte__ ulong__ ushort__ - bool__ : Boolean.
- bsize__ : Size of a buffer.
- float__ : Middle-sized float.
- lfloat__ : Long sized float.
- raw__ : Basic data, without any basically signification.
- sbyte__ : Signed byte.
- sfloat__ : Short-sized float.
- sign__ : A sign, for comparaison function.
- slong__ : Signed long.
- ubyte__ : Unsigned byte.
- ulong__ : Unsigned long.
- ushort__ : Unsigned short
Library bst
- Version : 1.2
- Release : 2001/01/08 22:48:19
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Functions Classes
bibits_set_ bits_set_ bits_set__ bibits_set_
A pairs of bits set.
Objects
- bits_set_ T1 : Les tableau des bits.
Methods
Add Allocate Init Read Write operator () - Add : POSITION__Add Value. Return position where added.
- Allocate : voidAllocate enough room to contain Size pairs of bits.
- Init : voidInitialization.
- Read : receptacle__Return the value at Position.
- Write : void
- receptacle__ Value
- POSITION__ Position
Write Value tou Position.
- operator () : receptacle__Return the value at position Position.
bits_set_
Bits set.
Methods
Add Allocate Bottom Down Init New Read Size Top Up Write operator () - Add : POSITION__Add Value to the end of the set.
- Allocate : voidAllocate enough room to contain Size bits.
- Bottom : POSITION__Return the position of the bottom of the set.
- Down : POSITION__Return the position previous to Current.
- Init : voidInitialization.
- New : POSITION__Return the position of the first of Size new bits.
- Read : bso__boolReturn the value at position Position.
- Size : SIZE__Return the size of the set.
- Top : POSITION__Return the position of the top of the set,
- Up : POSITION__Return the position next to Current.
- Write : void
- bso__bool Value
- POSITION__ Position
Write Value at Position.
- operator () : bso__boolReturn the value at position Position.
bits_set__< int t >
A set of a maximum of t bits.
Methods
Bottom Down First Last Next Previous Read Reset Size Top Up Write operator () - Bottom : POSITION__Return the position of the bottom of the set.
- Down : POSITION__Return the position of the bit previous to Current.
- First : POSITION__Return the first bit at Value.
- Last : POSITION__Return the last bit at Value.
- Next : POSITION__
- POSITION__ Current
- bso__bool Value
Return the position of the next bit after Current at Value.
- Previous : POSITION__
- POSITION__ Courant
- bso__bool Value
Return the position of the previous bit after Current at Value.
- Read : bso__boolReturn the value at position Position.
- Reset : voidSet all the bits to Value.
- Size : SIZE__Return the size.
- Top : POSITION__Return the position of the top of the set.
- Up : POSITION__Return the position of the bit next to Current.
- Write : void
- bso__bool Value
- POSITION__ Position
Write Value to Position.
- operator () : bso__boolReturn the value at position Position.
Functions
And Compare Count Not Or XOr - And : void
- const t & O1
- const t & O2
- t & D
D = O1 AND O2.
- Compare : bso__bool
- bits_set_ & S1
- bits_set_ & S2
- SIZE__ Quantity = 0
- POSITION__ P1 = 0
- POSITION__ P2 = 0
Compare Quantity bits from S1 and S2 beginning at P1 and P2.
- Count : BSIZE__Return the count of bit at true in O.
- Not : voidD = NOT O.
- Or : void
- const t & O1
- const t & O2
- t & D
D = O1 OR O2.
- XOr : void
- const t & O1
- const t & O2
- t & D
D = O1 XOR O2.
Library btr
- Version : 1.9
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Functions Classes
binary_tree_ binary_tree_< typename r >
Binary tree.
Methods
Allocate Amount BecomeLeft BecomeRight Cut Extent ForceParent HasChild HasLeft HasParent HasRight Init IsChild IsLeft IsParent IsRight Left Parent PrintStructure Right TakeLeft TakeRight - Allocate : void
- epeios::size__ Size
- aem::mode Mode = aem::mDefault
Allocate enough room to handle Size node.
- Amount : epeios::size__Amount of node in the tree.
- BecomeLeft : voidChild becomes left of Parent.
- BecomeRight : voidChild becomes right of Parent.
- Cut : voidCut Node. Node becomes a root.
- Extent : epeios::size__Extent of the tree.
- ForceParent : rForce the parent from Node to Parent. Return the previous parent.
- HasChild : bso::bool__Return true if Node has a child.
- HasLeft : bso::bool__Return true if Node has left.
- HasParent : bso::bool__Return true if Node has a parent.
- HasRight : bso::bool__Return true if Node has right.
- Init : voidInitialization.
- IsChild : bso::bool__Return true if Child is child of Parent.
- IsChild : bso::bool__Return true if Node is child.
- IsLeft : bso::bool__Return true if Child is left of Parent.
- IsLeft : bso::bool__Return true if Node is a child.
- IsParent : bso::bool__Return true if Parent is parent of Child.
- IsParent : bso::bool__Return true if Node is parent.
- IsRight : bso::bool__Return true if Child is right of Parent.
- IsRight : bso::bool__Return true if Node is a right.
- Left : rReturn left of Node..
- Parent : rReturn parent of Node.
- PrintStructure : void
- r Root
- txf::text_oflow___ & OFlow
Print to OFfow the structure of the tree whith root Root.
- Right : rReturn right of Node..
- TakeLeft : voidParent take Child as left.
- TakeRight : voidParent take Child as right.
Functions
HasChild HasLeft HasParent HasRight Init IsChild IsLeft IsParent IsRight - HasChild : bso::bool__Return true if Node has a child.
- HasLeft : bso::bool__Return true if Node has left.
- HasParent : bso::bool__Return true if Node has a parent.
- HasRight : bso::bool__Return true if Node has right.
- Init : voidInitialization.
- IsChild : bso::bool__Return true if Node is child.
- IsLeft : bso::bool__Return true if Node is a child.
- IsParent : bso::bool__Return true if Node is parent.
- IsRight : bso::bool__Return true if Node is a right.
Library clnarg
- Version : 1.7
- Release : 2001/10/16 11:10:27
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Typedefs Classes Functions Defines
CLNARG_DETAIL_SEPARATOR CLNARG_GENERAL_SEPARATOR CLNARG_NONE CLNARG_NO_LONG CLNARG_NO_SHORT - CLNARG_DETAIL_SEPARATOR : The command seperator for the detail usage printing ('GetCommandLabels' method).
- CLNARG_GENERAL_SEPARATOR : The command seperator for the general usage printing ('GetCommandLabels' method).
- CLNARG_NONE : Value the get an id when no value.
- CLNARG_NO_LONG : Value to gice if no long option/command.
- CLNARG_NO_SHORT : Value of no short option/command.
Enums
view - view : View mode
- vOneLine : All print on one line.
- vSplit : Split in 2 lines.
- v_amount : Amount of view.
Typedefs
argument_ id__ - argument_ : An argument.
- id__ : An option/argument id.
Classes
analyzer___ description_ analyzer___
Class to analyze the command line argument.
Methods
Description GetArgument GetArguments GetCommand GetOptions Init - Description : const description_ &Return descriptions.
- GetArgument : void
- int Option
- argument_ & Argument
Put in Argument the argument of option Option.
- GetArguments : void
- int Option
- arguments_ & Arguments
Put in Arguments the arguments of option Option.
- GetArguments : voidPut in Arguments arguments no associated to an option. A GetArguments( Id, ... ) for each option MUST be called before calling this function.
- GetCommand : id__Return the eventual command.
- GetOptions : const char *Put in Options options. If returned value != NULL, then it points of the invalid option/command.
- Init : void
- const char * [] ArgV
- int ArgC
- const description_ & Description
- char Flag = CLNARG_DEFAULT_FLAG
Initialization.
- Init : void
- int ArgC
- const char * [] ArgV
- const description_ & Description
- char Flag = CLNARG_DEFAULT_FLAG
Initialization.
description_
Description of the available command line options and arguments.
Methods
AddCommand AddOption GetCommandLabels GetOptionLabels Init - AddCommand : void
- const command__ & Command
Add command Command.
- AddCommand : void
- char Short
- const char * Long
- int Id
Add command with short name, Short, long name Long and description Description and id Id.
- AddOption : voidAdd option Option.
- AddOption : void
- char Short
- const char * Long
- int Id
Add option with long name Long, short name Short, description Description, and amount Amount and id Id.
- GetCommandLabels : const char *
- int Id
- const char * Separator = CLNARG_GENERAL_SEPARATOR
Return the long and short command label corresponding to Id using Separator to seperate them.
- GetOptionLabels : const char *Return the option label corresponding to Id.
- Init : voidInitialization
Functions
PrintCommandUsage PrintOptionUsage - PrintCommandUsage : void
- const description_ & Description
- int CommandId
- const char * Text
- clnarg::view View
- bso::bool__ Default = false
Print the usage text for command in Description identified by CommandId using Text and View. If Default at true, the command is the default one.
- PrintOptionUsage : void
- const description_ & Description
- int OptionId
- const char * Parameter
- const char * Text
- clnarg::view View
Print the usage text for option, with parameter, in Description identified by OptionId using Text and View. Parameter is the parameter of the option.
- PrintOptionUsage : void
- const description_ & Description
- int OptionId
- const char * Text
- clnarg::view View
Print the usage text for option, without parameter, in Description identified by OptionId using Text and View.
Library clt
- Version : 1.2
- Release : 2001/05/07 22:17:02
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Functions Functions
Connect Host Service - Connect : socket__
- const char * Host
- const char * Service
- socket__ Desc = SCK_INVALID_SOCKET
- err::handle ErrHandle = err::hUsual
Return a descriptor to a socket connected to Host at Service. Host can be in 212.95.72.3 format, or in www.epeios.org format, and Service can be in 80 format of in http format. If Desc != SCK_INVALID, the socket descriptor Desc is used. If connection failed, and ErrHandler == err::hSkip, return SCK_INVALID.
- Connect : socket__
- const char * Host
- const char * Service
- err::handle ErrHandle
Return a descriptor to a socket connected to Host at Service. Host can be in 212.95.72.3 format, or in www.epeios.org format, and Service can be in 80 format of in http format. If connection failed, and ErrHandler == err::hSkip, return SCK_INVALID.
- Connect : socket__
- const char * HostService
- socket__ Desc = SCK_INVALID_SOCKET
- err::handle ErrHandle = err::hUsual
Return a descriptor to a socket connected to HostService. HostService can be in 212.95.72.3:80 format, or in www.ensd.net:http format. If Desc != SCK_INVALID, the socket descriptor Desc is used. If connection failed, and ErrHandler == err::hSkip, return SCK_INVALID.
- Connect : socket__
- const char * HostService
- err::handle ErrHandle
Return a descriptot to a socket connected to HostService. HostService can be in 212.95.72.3:80 format, or in www.ensd.net:http format. If connection failed, and ErrHandler == err::hSkip, return SCK_INVALID.
- Host : const char *Return the host name contained in HostService.
- Service : const char *Return the Service contained in HostService.
Library cpe
- Version : 1.2
- Release : 2001/07/29 19:20:10
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Defines
CPE__32 CPE__BC CPE__DJGPP CPE__GCC CPE__IOS_EXTENSION CPE__MS CPE__MT CPE__NO_IOS_EXTENSION CPE__VC - CPE__32 : If defined, we are in a Windows 32 bits enviroment (Window 9x, 2000, NT, ...).
- CPE__BC : If defined, we are in the Borland C++.
- CPE__DJGPP : If defined, we are using DJGPP.
- CPE__GCC : If defined, we are using GCC.
- CPE__IOS_EXTENSION : Defined if ios::nocreate and ios::replace exists.
- CPE__MS : If defined, we are in an Microsoft enviroment (DOS, Windows).
- CPE__MT : If defined, we are in a multitasking enviroment.
- CPE__NO_IOS_EXTENSION : Defined if ios::nocreate and ios::noreplace.
- CPE__VC : If defined, we are in the Microsoft Visual C++.
Library csm
- Version : 1.5
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Defines
CSMCE CSMCI CSMCP CSMSE CSMSI CSMSP - CSMCE : An alias for the user client ending function.
- CSMCI : An alias for the user client initialization function.
- CSMCP : An alias for the user client process function.
- CSMSE : An alias for the user server endinf function.
- CSMSI : An alias for the user server initialization function.
- CSMSP : An alias for the user server process function.
Classes
manager___ manager___
To manage client/server operations.
Methods
Init Process - Init : voidInitialization.
- Process : void
- srv::service__ Service
- err::handle Handle = err::hUsual
Process.
Library ctn
ConTaiNer. Containers of dynamic objects.- Version : 1.14
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Shortcuts Classes Shortcuts
E_CITEMt E_CMITEMt E_CONTAINERt_ E_ITEMt E_MCONTAINERt_ E_MITEMt E_XCONTAINERt_ E_XMCONTAINERt_ - E_CITEMt(Type,r,) :
To reach an item from CONTAINER_( Type ), but only for reading.
- E_CMITEMt(Type,r,) :
To reach an item from MCONTAINER_( Type ) , but only for reading.
- E_CONTAINERt_(Type,r,) :
Container of object of type Type, which need more then one memory.
- E_ITEMt(Type,r,) :
To reach an item from CONTAINER_( Type ).
- E_MCONTAINERt_(Type,r,) :
Container of object of type Type, which need only one memory.
- E_MITEMt(Type,r,) :
To reach an item from MCONTAINER_( Type ).
- E_XCONTAINERt_(Type,r,) :
Container of object of type Type, and which have a Init() function without parameters.
- E_XMCONTAINERt_(Type,r,) :
Container of object of type Type, which need only one memory, and had a Init() function without parameters.
Classes
basic_container_ const_mono_item const_multi_item item_base_volatile__ mono_container_ mono_extended_container_ multi_container_ multi_extended_container_ volatile_mono_item volatile_multi_item basic_container_< class st, typename r >
- aem::amount_extent_manager_<r>
The base of a container. Internal use.
Objects
- mmi::indexed_multimemory_ Dynamics : All the dynamic parts.
- tym::E_MEMORYt_(str) Statics : All the static parts.
Methods
Adjust Allocate Delete Init - Adjust : voidAdjust the extent/amount to Size.
- Allocate : void
- epeios::size__ Size
- st & ST
- aem::mode Mode
Allocation room for Size object of statical part ST.
- Delete : void
- r Position
- epeios::size__ Amount = 1
- aem::mode Mode = aem::mDefault
Delete Amount entries from Position.
- Init : voidInitialization.
const_mono_item< class t, typename r >
- item_base_const__< item_mono_statique__< typename t::s >, r >
To reach an object of type from a MCONTAINER_( t ), but only for reading. Use CMITEM( t ) rather then directly this class.
Methods
operator () - operator () : const t &Return the object at Position.
- operator () : const t &Return the object at current position.
const_multi_item< class t, typename r >
- item_base_const__< item_multi_statique__<typename t::s>, r >
To reach an item from a CONTAINER_( t ), but only in read-only mode. Use CITEM( t ) rather then directly this class.
Methods
Init operator () - Init : void
- const basic_container_<item_multi_statique__<t::s>, r> & Container
Initializing with container Container.
- operator () : const t &Return the object at Position.
- operator () : const t &Return the object at current position.
item_base_volatile__< class st, typename r >
The base of a volatile item. Internal use.
mono_container_< class t, typename r >
- basic_container_< item_mono_statique__<typename t::s>, r >
Container for object of type Type, which need only one memory. Use MCONTAINER_( Type ) rather then directly this class.
Methods
Allocate New Read Sync Write operator () - Allocate : void
- epeios::size__ Size
- aem::mode Mode = aem::mDefault
Allocate room for Size objects.
- New : rCreate a new object and return its position.
- Read : t &Return the object at position Position. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the next, you MUST call the function Sync() before.
- Read : const t &
- r Position
- E_CMITEMt(tr) & Item
Return the object at Position using Item. Valid only until next modification of Item.
- Read : voidPut in Object the object at position Position.
- Sync : voidCall this function after calling one of the two previous function and before calling another function.
- Write : void
- const t &
- Objet
- r Position
Write Object at Position.
- operator () : t &Return the object at position Position. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the next, you MUST call the function Sync() before.
- operator () : t &Return the object at current position. This position is the position you gave to the previous function. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the previous, you MUST call the function Sync() before.
- operator () : const t &
- r Position
- E_CMITEMt(tr) & Item
Return the object at Position using Item. Valid only until next modification of Item.
mono_extended_container_< class t, typename r >
Same as mono_container_, but for use with object which have a Init() function without parameters.
Methods
Add Create Init Truncate - Add : rAdding object Object. Return position where added.
- Create : rCreate an initialized object. Return position of the created object.
- Init : voidInitialization.
- Truncate : void
- epeios::size__ Amount = 1
Remove Amount objects from the end of the container.
multi_container_< class t, typename r >
- basic_container_< item_multi_statique__< typename t::s >, r >
Container for objects t, with static part st, which need more then one memory. Use CONTAINER_( t ) rather then directly this class.
Methods
Allocate New Read Sync Write operator () - Allocate : void
- epeios::size__ Capacity
- aem::mode Mode = aem::mDefault
Allocate room for Capacity objects.
- New : rCreate a new object and return its position.
- Read : t &Return the object at position Position. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the next, you MUST call the function Sync() before.
- Read : const t &
- r Position
- E_CITEMt(tr) & Item
Return the object at Position using Item. Valid only until next modification of Item.
- Read : voidPut in Object the object at position Position.
- Sync : voidAlways call this function after calling one of the two previous function and before calling another function.
- Write : void
- const t &
- Object
- r Position
Write Object at Position.
- operator () : t &Return the object at position Position. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the next, you MUST call the function Sync() before.
- operator () : t &Return the object at current position. This position is the position you gave to the previous function. BE CAREFUL: after calling this fonction and if you want to call another fonction as this fonction or the previous, you MUST call the function Sync() before.
- operator () : const t &
- r Position
- E_CITEMt(tr) & Item
Return the object at Position using Item. Valid only until next modification of Item.
multi_extended_container_< class t, typename r >
Same as multi_container_, but for use with object which have a Init() function without parameters.
Methods
Add Create Init Truncate - Add : rAdding object Object. Return position where added.
- Create : rCreate an initialized object. Return position of the created object.
- Init : voidInitialization.
- Truncate : void
- epeios::size__ Amount = 1
Remove Amount objects from the end of the container.
volatile_mono_item< class t, typename r >
- item_base_volatile__< item_mono_statique__<typename t::s>, r >
To reach an object from a MCONTAINER_( t ). Use MITEM( t ) rather then directly this class.
Methods
operator () - operator () : t &Return the object at Position.
- operator () : t &Return the object at current position.
volatile_multi_item< class t, typename r >
- item_base_volatile__< item_multi_statique__<typename t::s>, r >
To reach an object from a CONTAINER_( t ). Use ITEM( t ) rather then directly this class.
Methods
Init operator () - Init : void
- basic_container_<item_multi_statique__<t::s>, r> & Container
- mdr::mode Mode = mdr::mReadWrite
Initialize with container Container, in mode Mode.
- operator () : t &Return the object at Position.
- operator () : t &Return the object at current position.
Library cvm
- Version : 1.3
- Release : 2001/03/26 21:14:29
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
basic_conventional_memory conventional_memory_driver basic_conventional_memory
Basic conventional memory.
Methods
Init - Init : voidInitialization.
conventional_memory_driver
- mdr::E_MEMORY_DRIVER,
- basic_conventional_memory
Conventional memory driver.
Methods
Init - Init : voidInitialization.
Library dte
DaTE.- Version : 1.1
- Release : 2001/05/25 10:30:49
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Defines Typedefs Classes Functions Defines
DTE_INVALID_DATE DTE_LIMIT_DECENNIA DTE_UNDEFINED_DATE - DTE_INVALID_DATE : An invalid date.
- DTE_LIMIT_DECENNIA : Decennia under which we consider we are in the XXI century, and over which we consider we are in the XX century.
- DTE_UNDEFINED_DATE : An undefined date.
Typedefs
day__ month__ raw_date__ year__ - day__ : Type of the day.
- month__ : Type for the month.
- raw_date__ : Type of a raw date.
- year__ : Type for the year.
Classes
date__ date__
A date.
Methods
ASCII AddMonth Init unsigned long - ASCII : const char *Return the date in ASCII ('dd/mm/yyyy') and put in Result if != NULL.
- AddMonth : voidAdd Amount Month.
- Init : void
- bso::ulong__ Date = DTE_UNDEFINED_DATE
Initialization with date Date.
- Init : voidInitialization with date Date.
- unsigned long : operatorReturn the date in raw format ('yyyymmdd').
Functions
Compare - Compare : bso::sbyte__
- const date__ & Date1
- const date__ & Date2
Return sign of Date1 - Date2.
Library dtfbsc
Data transFer BaSiC.- Version : 1.2
- Release : 2001/05/19 07:51:23
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Functions Functions
GetByte PutByte - GetByte : bso::ubyte__Return byte in Flow.
- PutByte : void
- bso::ubyte__ Byte
- flw::oflow___ & Flow
Put Byte in Flow.
Library dtflcf
Data Transfer LoCal Fetures.- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Functions Functions
Get GetPointer Put PutPointer - Get : object__Return an object of type object__ from Flow.
- GetPointer : object *Get from Flow a pointer to an object of type object.
- Put : void
- object__ & Object
- flw::oflow___ & Flow
Put Object to Flow.
- PutPointer : void
- const object * Object
- flw::oflow___ & Flow
Put Object, which is a pointer of type object, in Flow.
Library dtfrmf
Data Transfert ReMote Features.- Version : 1.4
- Release : 2001/05/19 07:51:23
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Functions Functions
Decapsulate Encapsulate GetLong GetShort PutLong PutShort - Decapsulate : void
- flw::iflow___ & Flow
- flx::bunch_ & Data
Decapsulate what in Flow into Data.
- Encapsulate : void
- const flx::bunch_ & Data
- flw::oflow___ & Flow
Encapsulates Data in flow (put size and then the contents of data as is).
- GetLong : bso::ulong__Return long in Flow
- GetShort : bso::ushort__Return short in Flow
- PutLong : void
- bso::ulong__ Long
- flw::oflow___ & Flow
Put Long in Flow.
- PutShort : void
- bso::ushort__ Short
- flw::oflow___ & Flow
Put Short in Flow.
Library dtr
- Version : 1.7
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Classes Enums
browse - browse : Browse status;
- bUndefined : Undefined status.
- bFirst : First element (always the root node).
- bLast : Last element, unless given root node have no child. So don't trust this item to stop browsing.
- bChild : Is child
- bBrother : Is brother.
- bParent : Is parent (already handled).
Classes
browser__ dynamic_tree_ browser__< typename r >
Browse structure.
Objects
Methods
Init Position Status - Init : voidInitialization wih Root as root.
- Position : rReturn current position.
- Status : browseReturn status.
dynamic_tree_< typename r >
A dynamic tree.
Objects
- que::E_QUEUEt_(r) Queue : A queue
- btr::E_BTREEt_(r) Tree : A binary tree.
Methods
Allocate Amount BecomeFirst BecomeLast BecomeNext BecomePrevious Browse First Init Last Next Parent Previous - Allocate : void
- tym::size__ Size
- aem::mode Mode = aem::mDefault
Allocate place nedeed for Size nodes.
- Amount : epeios::size__Return amount of nodes.
- BecomeFirst : voidFirst becomes first of Node.
- BecomeLast : voidLast becomes last of Node.
- BecomeNext : voidNext becomes node next to Node.
- BecomePrevious : voidPrevious becomes node previous to Node.
- Browse : rReturn the first, then next node, or NONE if no more, using BrowseStruct.
- First : rReturn first node of Node.
- Init : voidInitialization.
- Last : rReturn last node of Node.
- Next : rReturn node next to Node.
- Parent : rReturn parent of Node.
- Previous : rReturn node previous to Node.
Library epeios
EPEIOS current features.- Version : 1.2
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Library epsmsc
- Version : 1.7
- Release : 2001/09/10 13:20:30
- Coordinators : Claude L. SIMON (csimon@epeios.org)
Defines Functions Defines
EPSMSC_AUTHOR_EMAIL EPSMSC_AUTHOR_LINK EPSMSC_AUTHOR_NAME EPSMSC_EPEIOS_LINK EPSMSC_EPEIOS_URL EPSMSC_GNU_TEXT EPSMSC_GNU_URL EPSMSC_IDEALX_TEXT EPSMSC_IDEALX_URL - EPSMSC_AUTHOR_EMAIL : Author e-mail
- EPSMSC_AUTHOR_LINK : Author mail hypertext link.
- EPSMSC_AUTHOR_NAME : The author.
- EPSMSC_EPEIOS_LINK : The hypertext link to the Epeios project.
- EPSMSC_EPEIOS_URL : The epeios site URL.
- EPSMSC_GNU_TEXT : GNU (http://www.gnu.org) Text.
- EPSMSC_GNU_URL : The gnu URL.
- EPSMSC_IDEALX_TEXT : IDEALX (http://www.idealx.org) text.
- EPSMSC_IDEALX_URL : The IDEALX URL.
Functions
PrintLicense - PrintLicense : voidPrint information about GNU GPL license.
Library err
- Version : 1.3
- Release : 2001/07/27 09:48:13
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Defines Functions Defines
ERRBegin ERREnd ERREpilog ERRErr ERRFile ERRLine ERRMajor ERRMinor ERRProlog - ERRBegin : Put the instructions to survey after this.
- ERREnd : Put the instruction to launch, error or not.
- ERREpilog : End of the error bloc.
- ERRErr : Put the instruction to launch if an error occurs.
- ERRFile : File in which the error was thrown.
- ERRLine : Line where the error was thrown.
- ERRMajor : Major code.
- ERRMinor : Minor code.
- ERRProlog : Put the declaration after this.
Functions
Message - Message : const char *
- const char * File
- int Line
- err::type Major
- int Minor
Return the error message which goes along the given parameters
Library fam
- Version : 1.4
- Release : 2001/05/19 07:51:23
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
fast_allocation_memory fast_allocation_memory
A fast allocation memory.
Methods
Allocate Free - Allocate : void *
- size__ & Optimal
- size__ Minimum
Return pointer of memory of Optimal size or a size multiple of Minimum. If NULL returned, allocation cannot be done. The allocated amount is taken in Optimal.
- Free : voidFree Bloc. The bloc must be allocate/free like a FILO system (first allocated, last freed)
Library fgm
FraGmented Memory- Version : 1.0.4
- Release : 06/03/2000 22:23:42
- Coordinators : Claude SIMON
Classes Classes
fgm_fragmented_memory_driver fgm_fragmented_memory_driver
- MEMORY_DRIVER,
- fgm_memoire_fragmentee
The standard memory driver for fragmented RAM.
Methods
Init - Init : voidInitialization.
- Init : voidInitialization with Size as fragment size.
Library fhd
Flow HanDler. OBSOLETE ! Use library 'FLW' instead.- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Defines Typedefs Classes Functions Defines
FHD_INVALID_FLOW_HANDLER - FHD_INVALID_FLOW_HANDLER : The value of an invalid input/output flow handler.
Typedefs
amount__ data__ size__ - : An input flow handler;
- : An output flow handler;
- : A flow handler;
- amount__ : Amount of data red/written.
- data__ : Type of the data
- size__ : Size (of a cache, for example).
Classes
iflow_driver___ ioflow_driver___ oflow_driver___ iflow_driver___
The base class for an input flow driver.
Methods
Get GetUpTo Init - Get : void
- amount__ Amount
- data__ * Buffer
Place Amount bytes in Buffer.
- GetUpTo : amount__
- amount__ Amount
- data__ * Buffer
- amount__ Minimum = 0
Place up to Number bytes in Buffer whith a minimum of Minimum. Return number of bytes red.
- Init : void
- data__ * Cache
- size__ Size
Initialization with Cache of size Size as cache.
Handlers
FHDGet - FHDGet : amount__
- amount__ Minimum
- data__ * Buffer
- amount__ Wanted
Place up to Wanted bytes in Buffer, and not less than Minimum. Return how many bytes red. If Minimum == 0, then the function must return as fast as possible if there is no data to read.
ioflow_driver___
- iflow_driver___,
- oflow_driver___
The base class for an input/output flow driver.
Methods
Init - Init : void
- data__ * ICache
- size__ ISize
- data__ * OCache
- size__ OSize
Initialization with ICache of size ISize and OCache of size OSize as, respectively cache and size of this cache for the input flow and output flow.
- Init : void
- data__ * Cache
- size__ Size
Initialisation with cache Cache of size Size.
oflow_driver___
The base class for an output flow handler.
Methods
Init Put PutUpTo Synchronize - Init : void
- data__ * Cache
- size__ Size
Initialization with Cache of size Size as cache.
- Put : void
- const data__ * Buffer
- amount__ Amount
Put Amount data from Buffer.
- PutUpTo : amount__
- const data__ * Buffer
- amount__ Amount
Put up to Amount bytes from Buffer. Return number of bytes written.
- Synchronize : voidSynchronization.
Handlers
FHDPut - FHDPut : amount__
- const data__ * Buffer
- amount__ Wanted
- amount__ Minimum
- bool Synchronization
Put up to Wanted and a minimum of Minimum bytes from Buffer. If Synchronization is true, then this fonction is called due to a synchronization operation. Return the amount of data written. If Minimum == 0, then the function must return as fast as possible if no data can be written.
Functions
Delete - Delete : voidDelete the input flow handler Handler.
- Delete : voidDelete the output flow handler Handler.
- Delete : voidDelete the input/output flow handler Handler.
Library fil
FILe. File management.- Version : 1.4
- Release : 2001/07/27 09:48:13
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Classes Enums
mode status - mode : Open mode.
- mUnknow : Unknow.
- mRemove : Ecrase le contenu du fichier.
- mAppend : Ajoute à la fin du fichier.
- m_amount : Amount of mode.
- status : Status.
- sUnknow : Unknow,
- sSuccess : Success.
- sFailure : Failure.
- s_amount : Amount of status.
Classes
file_iflow___ file_oflow___ file_iflow___
A file as standard input flow.
Methods
Init - Init : status
- const char * FileName
- err::handle ErrHandle = err::hUsual
Initialization with the file named FileName. Correct the / or \ if Handle = hCorrect. Return sFailure if initialization failes, and ErrHandle set to err::hUsual, sSuccess otherwise.
file_oflow___
A file as standard output flow.
Methods
Init - Init : status
- const char * FileName
- fil::mode Mode = fil::mRemove
- err::handle ErrHandle = err::hUsual
Initialization with the file named FileName. If this file already exists, Mode is was happen with it. If Handle = hCorrect, corrects the \ or / in file name. Return sFailure if initialization failes, and ErrHandle set to err::hUsual, sSuccess otherwise.
- Init : status
- const char * Nom
- err::handle ErrHandle
- mode Mode = fil::mRemove
Initialization with the file named FileName. If this file already exists, Mode is was happen with it. If Handle = hCorrect, corrects the \ or / in file name. Return sFailure if initialization failes, and ErrHandle set to err::hUsual, sSuccess otherwise.
Library flm
FiLe Memory.- Version : 1.4
- Release : 2001/07/29 19:20:10
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
file_memory_driver file_memory_driver
- E_MEMORY_DRIVER,
- memoire_fichier_base
The standard memory driver which handle a file as memory.
Methods
Init Mode - Init : void
- const char * FileName = NULL
- mdr::mode Mode = mdr::mReadWrite
- flm::creation Creation = flm::cFirstUse
Initialize using Filename as file, open it in mode Mode.
- Mode : mdr::modeReturn the mode.
- Mode : voidMode becomes the mode.
Library flw
- Version : 1.5
- Release : 2001/03/09 17:32:17
- Coordinators : Claude L. SIMON (simon@epeios.org)
Typedefs Classes Functions Typedefs
amount__ data__ size__ - amount__ : Amount of data.
- data__ : Type of the data
- size__ : Size (of a cache, for example).
Classes
iflow___ ioflow___ oflow___ iflow___
Base input flow.
Methods
EOFD Get GetUpTo Get_ HandleEOFD Init - EOFD : void
- const data__ * Data
- size__ Length
Data of length Length becomes the end of flow data. Data is NOT duplicated and should not be modified.
- Get : void
- amount__ Amount
- void * Buffer
Place Amount bytes in Buffer.
- Get : data__Get next byte.
- GetUpTo : amount__
- amount__ Amount
- void * Buffer
- amount__ Minimum = 1
Place up to Amount bytes in Buffer with a minimum of Minimum. Return amount of bytes red.
- Get_ : void
- amount__ Amount
- data__ * Buffer
Place Amount bytes in Buffer.
- HandleEOFD : size__
- data__ * Buffer
- size__ Size
Handle EOFD. To call when no more data available in the medium. Return amount of data written. If 0 is returned, then there is no more end of flow data available, and an error should be launched.
- Init : void
- data__ * Cache
- size__ Size
Initialization with Cache of size Size (>=2) as cache.
Handlers
FLWGet - FLWGet : amount__
- amount__ Minimum
- data__ * Buffer
- amount__ Wanted
Called to place up to Wanted bytes in Buffer, and not less than Minimum. Returns how many bytes red. If Minimum == 0, then the function must return as fast as possible if there is no data to read.
ioflow___
Basic input/output flow.
Methods
Init - Init : void
- data__ * ICache
- size__ ISize
- data__ * OCache
- size__ OSize
Initialization with ICache of size ISize and OCache of size OSize as, respectively, cache and size of this cache for the input flow and output flow.
- Init : void
- data__ * Cache
- size__ Size
Initialisation with cache Cache of size Size.
oflow___
Basic output flow.
Methods
Init Put PutUpTo Synchronize - Init : void
- data__ * Cache
- size__ Size
Initialization with Cache of size Size as cache.
- Put : void
- const void * Buffer
- amount__ Amount
Put Amount data from Buffer.
- Put : voidPut C.
- PutUpTo : amount__
- const void * Buffer
- amount__ Amount
Put up to Amount bytes from Buffer. Return number of bytes written.
- Synchronize : voidSynchronization.
Handlers
FLWPut - FLWPut : amount__
- const data__ * Buffer
- amount__ Wanted
- amount__ Minimum
- bool Synchronization
Called to put up to Wanted and a minimum of Minimum bytes from Buffer. If Synchronization is true, then this fonction is called due to a synchronization operation. Return the amount of data written. If Minimum == 0, then the function must return as fast as possible if no data can be written.
Functions
Get GetString Put PutString - Get : void
- iflow___ & InputFlow
- t & StaticObject
Get StaticObject from InputFlow.
- GetString : bool
- iflow___ & IFlow
- char * Buffer
- amount__ Maximum
Place, from IFlow, up to Maximum character in Buffer or until reading the NULL character. False is returned, if not enough place to put the string with its final NULL character. Buffer contains then Maximum characters of the string. Otherwise, it returns true.
- Put : void
- const t & StaticObjet
- oflow___ & OutputFlow
Write to OutputFlow StaticObject.
- PutString : void
- const char * String
- oflow___ & OutputFlow
Write to OutputFlow the NULL terminated String String WITH the NULL character.
Library flx
FLow eXtension. Some class which extend the 'FLW' library.- Version : 1.7
- Release : 2001/04/30 15:41:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Defines
FLX_BUFFER_BUFFER_SIZE FLX_DUMP_BUFFER_SIZE FLX_SET_BUFFER_SIZE - FLX_BUFFER_BUFFER_SIZE : Size of the buffer of a flx::buffer_flow___.
- FLX_DUMP_BUFFER_SIZE : Size of the buffer of a flx::dump_oflow___.
- FLX_SET_BUFFER_SIZE : Size of the buffer of a flx::bunch_flow___.
Classes
buffer_iflow___ buffer_oflow___ bunch_iflow___ bunch_oflow___ dump_oflow___ buffer_iflow___
Buffer as a standard input flow.
Methods
Init - Init : void
- flw::data__ * Buffer
- bso::bsize__ Size = BSO_BSIZE_MAX
Initialization with the buffer Buffer of size Size..'Size' is not needed if you are sure that you don't exceed the buffer size.
Handlers
FLXUnavailable - FLXUnavailable : voidIs called if there is asked for more data as availble.
buffer_oflow___
Buffer as a standard ouput flow.driver
Methods
Init - Init : void
- flw::data__ * Buffer
- bso::bsize__ Size
Initialization with Buffer of size Size.
bunch_iflow___
A bunch as input flow.driver.
Methods
Init - Init : voidInitializing with the bunch buffer Set.
bunch_oflow___
A bunch as output flow.driver.
Methods
Init - Init : voidInitializing with the buffer bunch BufferSet.
dump_oflow___
A output flow which write to nothing.
Methods
Init - Init : voidInitialization.
Library fnm
FileName. Handle file names.- Version : 1.3
- Release : 2001/05/19 07:51:23
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Classes Functions Enums
type - type : Different type of file name.
- tEmpty : "" or NULL
- tLocalised : "x:\...\nom.suf" or "\...\nom.suf" or "x:nom.suf" etc..
- tSuffixed : "nom.suf"
- tFree : "nom"
- tPath : "d:" or "d:\...\directory\" etc.
- tUnknow : unknow or not initialized.
Classes
file_name_manager file_name_manager
Manage 8 character long file name.
Methods
Init SearchFileName - Init : voidInitialization.
- SearchFileName : char *
- const char * Directory
- const char * Base
- const char * Extension
Return a 8 characters file name based on the Base string (any lentgh) in Directory with Extension as extension. Use TOLFileExists to define if this file already exists. If NULL is returned, then no file can be generated, because all occurence are already used. IMPORTANT: the returned pointer, if != NULL, MUST be freed with free.
Handlers
FNMMatch - FNMMatch : boolMust return true if the file named Name is the searched file..
Functions
CorrectLocation Description GetFileName GetFileNameRoot MakeFileName Type - CorrectLocation : char *Correct location, i. e. remplaces \ or / with correct directory separator depending on OS. The retuned pointer must be freed.
- Description : const char *Description of the Type type.
- GetFileName : const char *Return the name of the file named Name, without its localization.
- GetFileNameRoot : const char *Return the file name of Name without localization and extension.
- MakeFileName : char *
- const char * Rep
- const char * Nom
- const char * Ext
Make file name with Name, Directory as default directory, and Extension as defaut extension; IMPORTANT: the returned pointer MUST be freed with free().
- Type : fnm::typeType of the file name FileName.
Library gnumll
- Version : 1.5
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Typedefs Classes Typedefs
head_section_ - head_section_ : The before section
Classes
general_section_ list_section_ mailing_lists_ section_header_ general_section_
The general section
Objects
- section_ Section : The section itself.
- str::string_ Title : Title of the section.
Methods
Init - Init : voidInitialization.
list_section_
A list section.
Objects
- section_header_ Header : Section header.
- section_ Section : The section itself.
Methods
Init - Init : voidInitialization.
mailing_lists_
A GNU mailing lists.
Objects
- general_sections_ Generals : the general sections.
- head_section_ Head : The head section.
- list_sections_ Lists : The list sections.
Methods
Init Parse - Init : voidInitialization.
- Parse : void
- xtf::extended_text_iflow___ & Flow
Parse the flow Flow.
section_header_
Section header.
Objects
- str::string_ Announcement : Announcement e-mail
- str::string_ Contribution : Contribution e-mail
- str::string_ Email : E-mail of the mailing-list.
- str::string_ FAQ_URL : The FAQ_URL
- misc_ Misc : Misc.
- str::string_ Name : Name of the mailing-list.
- str::string_ Newsgroup : Newsgroup name.
- str::string_ NewsgroupComment : Newsgroup comment.
- str::string_ OtherEmail : Other E-mail (bug reports, source code, articles, ...)
- str::string_ TextOtherEmail : Text associated to the other E-mail.
Methods
Init Parse - Init : voidInitialization
- Parse : voidParse the line Line.
Library idxbtq
- Version : 1.3
- Release : 2001/02/06 17:02:28
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
tree_queue_index_ tree_queue_index_
Index using a tree-based index and a queue-based index. Fast browsing and sorting.
Methods
Allocate Balance BecomeNext BecomePrevious Create Init Remove - Allocate : voidAllocate enough room to contain Size items.
- Balance : void
- mdr::E_MEMORY_DRIVER_ & MD = *(mdr::E_MEMORY_DRIVER_ *)NULL
Balances the tree of the index.
- BecomeNext : void
- epeios::row__ New
- epeios::row__ Item
New becomes the next item of Item. NextAvailable( Item ) must return true to use this function.
- BecomePrevious : void
- epeios::row__ New
- epeios::row__ Item
New becomes the previous item of Item. PreviousAvailable( Item ) must return true to use this function.
- Create : voidItem becomes the first item of the index, if empty.
- Init : voidInitializtion.
- Remove : voidRemove Item.
Library idxbtr
- Version : 1.4
- Release : 2001/05/27 20:15:41
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Classes
tree_index_ tree_index_
Tree-based index, fast sorting, but slow browsing.
Methods
Balance BecomeNext BecomePrevious Create Fill First Init IsEmpty Last Next NextAvailable Previous PreviousAvailable PrintStructure Remove Root - Balance : voidBalances the tree which underlies the index.
- BecomeNext : void
- tym::row__ New
- tym::row__ Item
New becomes the next item of Item. NextAvailable( Item ) must return true to use this function.
- BecomePrevious : void
- tym::row__ New
- tym::row__ Item
New becomes the previous item of Item. PreviousAvailable( Item ) must return true to use this function.
- Create : voidItem becomes the first item of the index, which must be empty.
- Fill : void
- que::E_QUEUE_ & Queue
- tym::row__ Head
- mdr::E_MEMORY_DRIVER_ & MD = *(mdr::E_MEMORY_DRIVER_ *)NULL
Fill the index with the items in Queue beginning at Head, using MD as memory driver if != NULL.
- First : tym::row__Return the first item of the index.
- Init : voidInitialization.
- IsEmpty : bso::bool__Return true if index empty, false otherwise.
- Last : tym::row__Return the last item of the index.
- Next : tym::row__Return the item next to Item.
- NextAvailable : bso::bool__Return false and put in Item the next node of Item, or return true and let Item unchanged if Item next node is free.
- Previous : tym::row__Return the item previous to Item.
- PreviousAvailable : bso::bool__Return false and put in Item the previous node of Item, or return true and let Item unchanged if Item next node is free.
- PrintStructure : void
- txf::text_oflow___ & OStream
Print the tree structure of the index.
- Remove : voidRemove Item.
- Root : tym::row__Return the root of the tree. To use as the first node for the NextAvailable() and PreviousAvailablbe() functions.
Library idxque
- Version : 1.4
- Release : 2001/02/11 21:21:15
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Defines
IDXQUE_END - IDXQUE_END : The end of the queue.
Classes
queue_index_ queue_index_< typename r >
Queue-based index, fast browsing, but slow sorting.
Methods
BecomeNext BecomePrevious Dump Init - BecomeNext : void
- tym::row__ Item
- tym::row__ Node
Item becomes node next to Node.
- BecomePrevious : void
- tym::row__ Item
- tym::row__ Node
Item becomes node previous to Node.
- Dump : void
- stk::E_STACK_(r) & Stack
- tym::row__ Begin
- idxque::direction Direction
Dump to the stack Stack the queue beginning at Begin and in the Direction direction..
- Init : voidInitialization.
Library lgg
LanGuaGe- Version : 1.0.2
- Release : 02/07/2000 11:51:31
- Coordinators : Claude SIMON
Enums Enums
language - language : Languages.
- lDefault : Default language.
- lFrench : French.
- lEnglish : English.
- lGerman : German
- l_amount : Amount of languages.
Library lst
- Version : 1.13
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Defines
E_LISTt - E_LISTt(r) : Handle a list of objects.
Classes
list_ list__ list_< typename r >
Handle a list of objects. Use LIST_ rather than directly this class.
Objects
- stk::E_STACK_(epeios::row_t__) Libres : Stack which contains the free locations.
Methods
Amount CreateEntry Exists Extent First Init IsEmpty Last Next Previous Remove - Amount : epeios::size__Amount of entries, NOT the extent of the list.
- CreateEntry : rReturn the position of a new entry.
- Exists : bso::bool__Return true if Entry exists, false otherwise.
- Extent : epeios::size__Extent of list.
- First : rReturn the first entry if exists, NONE if list empty.
- Init : voidInitialiration.
- IsEmpty : bso::bool__Return true if empty, false otherway.
- Last : rReturn the last entry, NONE if list empty.
- Next : rReturn the entry next to Entry, NONE if Entry is the last one.
- Previous : rReturn the previous entry of Entry, NONE if Entry the first one.
- Remove : voidRemove Entry.
Handlers
LSTAllocate - LSTAllocate : voidCette fonction est appelée lors d'allocations dans la liste; permet de synchroniser la taille de la liste avec d'autres ensembles; Size est la capacité allouée. Ne fait rien par défaut.
list__< int t, typename r >
Handle a list with a maximum of t entries. Use LIST__ rather than directly this class.
Methods
CreateEntry Empty Exists Fill First IsEmpty IsFull Last Next Previous Remove - CreateEntry : r
- err::handle Error = err::hUsual
Return the position of a new entry.
- Empty : voidMark the list as empty.
- Exists : bso::bool__Return true if Entry exists, fals otherwise.
- Fill : voidMark the list as full.
- First : rFirst entry, NONE if no entries.
- IsEmpty : bso::bool__Return true if no entry, false otherwise.
- IsFull : bso::bool__Return true if totally full, false otherwise.
- Last : rLAsttry, NONE if no entries.
- Next : rEntry next to Entry, none if Entry the last one.
- Previous : rPrevious entry from Entry, none if Entry the first one.
- Remove : voidRemove Entry, which MUST exists.
Library mdr
Memory DRiverMemory DRiver.- Version : 1.0.6
- Release : 16/03/2000 19:37:41
- Coordinators : Claude SIMON
Enums Typedefs Classes Enums
mode - mode : Access mode to the memory.
- mUndefined : Undefined.
- mReadOnly : Read only.
- mReadWrite : Read/write
- m_amount : amount of mode.
Typedefs
bsize__ data__ row__ size__ - bsize__ : The size of a buffer.
- data__ : The type of the data in a memory.
- row__ : The position in a memory.
- size__ : The size of a memory.
Classes
basic_memory_driver_ basic_memory_driver_
Basic memory driver. Use MEMORY_DRIVER_ instead directly this class.
Methods
Allocate Init Read Synchronize Write - Allocate : voidAllocate Size bytes in memory.
- Init : voidInitialization.
- Read : void
- row__ Position
- bsize__ Amount
- data__ * Buffer
Place Amount bytes in Buffer from the memory at position Position.
- Synchronize : voidFlush caches.
- Write : void
- const data__ * Buffer
- bsize__ Amount
- row__ Position
Write Amount bytes from Buffer to memory at position Position.
Handlers
MDRAllocate MDRRead MDRSynchronize MDRWrite - MDRAllocate : voidAllocate Capacity bytes in memory.
- MDRRead : void
- row__ Position
- bsize__ Amount
- data__ * Buffer
Place Amount bytes in Buffer from the memory at position Position.
- MDRSynchronize : voidFlush caches.
- MDRWrite : void
- const data__ * Buffer
- bsize__ Amount
- row__ Position
Write Amount bytes from Buffer to memory at position Position.
Library mmg
Memory MerGer.- Version : 1.3
- Release : 2001/01/19 12:10:17
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Classes Enums
rule state - rule : Rule about how the object is handle.
- rCreation : L'object est created.
- rRecovery : L'objet is recovered.
- state : state of the object
- sImmortal : Immortal.
- sMortal : Mortal.
Classes
file_memory_merger memory_merger_ file_memory_merger< class t, class st >
File memory merger. Same as mmg_memory_merger_<t, t::s>, but use a file as memory. Use MMG_FILE_MEMORY_MERGER( t ) rather then directly this class.
Methods
Init Mode - Init : mmg::rule
- const char * FileName
- mdr::mode ObjectMode
- mdr::mode FileMode
Initialization with file named FileName. The object is placed in ObjectMode, and the file in FileMode. Return a value which depends on whether exists or not. If the file doesn't already exist, both ObjectMode and FileMode are forced for to mdr::mReadWrite.
- Init : mmg::rule
- const char * NomFichier
- mdr::mode Mode = mdr::mReadOnly
Initialization with the file named FileName. If the file is create, Mode is forced to mdr::mReadWrite. Return a value which depends on whether exists or not. If the file doesn't already exist, Mode is forced to mdr::mReadWrite.
- Mode : void
- mdr::mode ObjectMode
- mdr::mode FileMode
The object is placed in ObjectMode, the file in FileMode.
- Mode : voidFila and object are placed in Mode mode.
memory_merger_< class t, class st >
Merge all the memory of an object of type t, including the statical part, in one memory. Use MMG_MEMORY_MERGER_( t ) rather then directly this class.
Methods
Immortalize Init Mode Read State Write operator () plug - Immortalize : voidThe memory is unpluged and can be used by an other object.
- Init : void
- mmg::rule Rule
- mdr::mode Mode = mdr::mReadWrite
Initialization with rule Rule and mode Mode.
- Mode : voidThe mode of the object decames Mode.
- Mode : mdr::modeReturn the mode of the object.
- Read : voidRead from IFLow as raw data.
- State : voidThe object would be immortalized or destructed depend of the value of State.
- Write : voidWrite to OFLow as raw data.
- operator () : t &Return the object which is handled by.
- plug : void
- mdr::E_MEMORY_DRIVER_ & MD
Utilisation de Pilote comme pilote mémoire.
Library mmi
- Version : 1.7
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Typedefs Classes Typedefs
index__ - index__ : The type of an index in the indexed multimemory.
Classes
const_indexed_multimemory_driver_ indexed_multimemory_ indexed_multimemory_driver_ const_indexed_multimemory_driver_
Same as mmmi_indexed_multimemory_driver_, but for read-only memory.
Methods
Index Init Size - Index : voidThe Index memory becomes the memory handled by this memory driver.
- Index : index__Return the index of the current memory.
- Init : void
- const indexed_multimemory_ & Multimemory
Initialize with Multimemory multimemory.
- Size : epeios::size__Return the size of the memory.
indexed_multimemory_
An indexed multimemory.
Methods
Allocate DeleteWithoutReallocating Free Init Read Size Synchronize Write - Allocate : void
- epeios::size__ Capacity
- epeios::size__ ActualCapacity
Allocate Capacity memories in the indexed multimemory. ActualCapacity is the actual capacity.
- Allocate : void
- index__ Index
- epeios::size__ Size
Allocate Size bytes in the Index memory.
- DeleteWithoutReallocating : void
- epeios::row__ Position
- epeios::size__ ActualCapacity
- epeios::size__ Amount
Delete Amount entries from Position, ActualCapacity is the actual capacity. No reallocationg to gain place is made.
- Free : voidDiscard the Index memory.
- Init : voidInitialization.
- Read : void
- index__ Index
- epeios::row_t__ Position
- epeios::bsize__ Amount
- epeios::data__ * Buffer
Put Amount bytes in Buffer from the Index memory at Position .
- Size : epeios::size__Return the size of the Index memory.
- Synchronize : voidFlushes the memory.
- Write : void
- const epeios::data__ * Buffer
- epeios::bsize__ Amount
- index__ Index
- epeios::row_t__ Position
Put Amount bytes at Position to the Index memory from Buffer.
indexed_multimemory_driver_
This class is the standard memory driver for the indexed multimemory.
Methods
Index Init Size - Index : voidThe Index memory becomes the memory handled by this driver.
- Index : index__Return the index of the current memory.
- Init : void
- indexed_multimemory_ & Multimemory
Initialize with the Multimemory multimemory.
- Size : epeios::size__Return the size of the memory.
Library mmm
- Version : 1.5
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Typedefs Classes Typedefs
descriptor__ - descriptor__ : Type of a descriptor of a memory in a multimemory.
Classes
multimemory_ multimemory_driver_ multimemory_
A mutltimemory.
Methods
Allocate Free Init IsEmpty PrintStructure Read Reallocate Size Synchronize Write - Allocate : descriptor__Return a descriptor of a memory of Size size.
- Free : voidFree the Descriptor memory.
- Init : voidInitialization.
- IsEmpty : bso::bool__Return true if the multimemory empty, false otherwise.
- PrintStructure : voidPrint the multimemory structure.
- Read : void
- descriptor__ Descriptor
- row__ Position
- bsize__ Amount
- data__ * Buffer
Put Amount bytes in Buffer from the Descriptor memory at Position .
- Reallocate : descriptor__
- descriptor__ Descriptor
- size__ Size
Return a descriptor of a memory of Size size based on the Descriptor descriptor. The returned descriptor must be used instead of Descriptor. The contents of the memory is conserved.
- Size : size__Retourne la capacite de la portion de descripteur Descripteur.
- Size : size__The size of all the multimemory.
- Synchronize : voidFlushes the cahces.
- Write : void
- const data__ * Buffer
- bsize__ Amount
- descriptor__ Descriptor
- row__ Position
Put Amount bytes at Position to the Descriptor memory from Buffer.
multimemory_driver_
The standard memory driver for the multimemory.
Methods
Descriptor Init Multimemory - Descriptor : descriptor__Return the current descriptor.
- Init : void
- multimemory_ & Multimemory
Initialization with the Multimemory multimemory.
- Multimemory : multimemory_ *Return the used multimemory.
Library mtk
- Version : 1.3
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Typedefs Functions Typedefs
mtk__routine mtk__thread_id thread_id__ - mtk__routine : Alias for mtk::routine . Obsolete.
- mtk__thread_id : Alias for mtk::thread_id__. Obsolete.
- thread_id__ : The type of a thread ID.
Functions
GetTID Launch LaunchAndKeep LaunchAndKill MTKGetTID MTKLaunch - GetTID : thread_id__Return an unique ID for the current thread.
- Launch : void
- routine__ Routine
- void * UP
Launch a new thread executing Routine, with UP as user pointer.
- LaunchAndKeep : void
- routine__ Routine
- void * UP
Launch a new thread executing Routine, with UP as user pointer. Thread is NOI killed when returning from Routine, and reused if available at next call of this function.
- LaunchAndKill : void
- routine__ Routine
- void * UP
Launch a new thread executing Routine, with UP as user pointer. Thread is killed when returning from Routine.
- MTKGetTID : mtk__thread_idAlias for mtk::GetTid. Obsolete.
- MTKLaunch : void
- mtk__routine Routine
- void * UP
Alias go mtk::Launch. Obsolete.
Library mtx
MuTeX.- Version : 1.6
- Release : 2001/06/04 19:48:59
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Typedefs Classes Functions Defines
MTX_INVALID_HANDLER - MTX_INVALID_HANDLER : A invalid mutex handler.
Typedefs
Classes
mutex___ mutex___
A mutex.
Methods
Init Lock TryToLock Unlock - Init : voidInitialization.with mutex handler Handler.
- Lock : voidLock the semaphore. BLOCKING FUNCTION.
- TryToLock : bso::bool__Try to lock without blocking. Return true if success, false otherwise.
- Unlock : voidUnlock the semaphore.
Functions
Create Delete Lock TryToLock Unlock - Create : mutex_handler__Return a new mutex handler.
- Delete : voidDelete the mutex of handler Handler.
- Lock : voidLock Handler. Blocks until lock succeed.
- TryToLock : bso::bool__Try to lock Handler without blocking. Return true if locks succeed, false otherwise.
- Unlock : voidUnlock Handler.
Library pip
- Version : 1.7
- Release : 2001/06/04 19:48:59
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Typedefs Classes Functions Defines
PIP_FLOW_BUFFER_SIZE - PIP_FLOW_BUFFER_SIZE : Size of the buffer for the flow. 100 by default.
Typedefs
amount__ base_pipe__ - : A bipipe;
- amount__ : Amount of data.
- base_pipe__ : A pipe.
Classes
bipipe_flow___ master_bipipe_ioflow___ pipe___ pipe_ioflow___ slave_bipipe_ioflow___ bipipe_flow___
Bipipe for flow.
Methods
Init Master Slave - Init : voidInitialization.
- Master : flw::ioflow___ &Return master bipipe input/output flow.
- Slave : flw::ioflow___ &Return slave bipipe input/output flow.
master_bipipe_ioflow___
Master bipipe input/output flow.
Methods
Init - Init : voidInitialization with Bipipe.
pipe___
A pipe.
Methods
Amount Flush IsEmpty Read - Amount : amount__Return the amount of data currently in the pipe.
- Flush : void
- bso::bool__ Force = false
Flushes the pipe. If Force at true, then force the flush EVEN if the pipe already empty ; a write will be occurs.
- IsEmpty : boolReturn true if all the data written until the last synchronization are read.
- Read : amount__
- amount__ Amount
- data__ * Buffer
Put up to Amount bytes to Buffer. Return the amount of bytes red.
pipe_ioflow___
A pipe input flow.
Methods
Init - Init : voidInitialization.
slave_bipipe_ioflow___
Master bipipe input/output flow driver.
Methods
Init - Init : voidInitialization with Bipipe.
Functions
CreateBasePipe Delete Read Write - CreateBasePipe : voidReturn a new pipe in Pipe.
- Delete : voidDelete pipe Pipe.
- Read : pip::amount__
- base_pipe__ & Pipe
- amount__ Amount
- data__ * Buffer
Put Amount data from Pipe into Buffer.
- Write : pip::amount__
- base_pipe__ & Pipe
- const data__ * Buffer
- amount__ Amount
Write Amount data from Buffer into Pipe.
Library prshct
- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Functions Enums
error - error : Error codes.
- rOK : No error.
- rLevel : Level error.
- rSyntax : Syntax error.
Functions
PRSHCTParse - PRSHCTParse : POSITION__
- xtf::extended_text_iflow___ & IFlow
- txmhch_hierarchical_text_ & Text
- bso__char Marker
- err::handle ErrH = err::hUsual
- prshct::error & Error = *(prshct::error *)NULL
Parse IFlow with marker Marker and fill Text. If ErrH != err::hUsual, you MUST give a Error.
Library que
QUeuE.- Version : 1.11
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Classes Defines
E_MQUEUEt_ E_QUEUEt_ - E_MQUEUEt_(r) : A managed queue.
- E_QUEUEt_(r) : A queue.
Enums
direction - direction : dump direction.
- dUnknow : Unknow direction.
- dAscending : Ascending.
- dDescending : Descending.
- d_amount : amount of directyon item.
Classes
links_ managed_queue_ queue_ queue_manager__ links_
- E_MEMORY_( que::link__ ),
- amount_extent_manager_<row__>
A set lof links.
Methods
Allocate Init SetNext SetPrevious - Allocate : void
- tym::size__ Size
- aem::mode Mode = aem::mDefault
Allocate for Size.
- Init : voidInitialization.
- SetNext : void
- row_t__ Item
- row_t__ Value
Next of Item is set to Value. Previous remains unchanged.
- SetPrevious : void
- row_t__ Item
- row_t__ Value
Previous of Item is set to Value. Next remains unchanged.
managed_queue_< typename r >
A managed queue (with head and tail). Use MQUEUE_ rather then directly this class.
Methods
Allocate Amount Create Extent First Head Init InsertItemAfterNode InsertItemBeforeNode IsEmpty Last Next Previous Remove Swap Tail - Allocate : void
- tym::size__ Size
- aem::mode Mode = aem::mDefault
Allocate enough room to contains Size nodes.
- Amount : tym::size__Return amount of node in the queue.
- Create : voidCreate the queue with item Item.
- Extent : tym::size__Return extent of node in the queue.
- First : rReturn first node.
- Head : rReturn the head.
- Init : voidInitialization with queue Queue.
- InsertItemAfterNode : voidInsert Item after Node.
- InsertItemBeforeNode : voidInsert Item Before Node.
- IsEmpty : bso::bool__Return true if empty, false otherwise.
- Last : rReturn last node.
- Next : rReturn node next to Node.
- Previous : rReturn node previous to Node.
- Remove : voidRemove Node".
- Swap : voidSwap Node1 and Node2.
- Tail : rReturn the tail.
queue_< typename r >
A queue. Use QUEUE_ rather than directly this.
Objects
- que::links_ Links : Links between nodes.
Methods
Allocate Amount Extent HasNext HasPrevious Init InsertItemAfterNode InsertItemBeforeNode Next Previous Remove Swap - Allocate : void
- tym::size__ Size
- aem::mode Mode = aem::mDefault
Allocate enough room to contains Size nodes.
- Amount : tym::size__Return the amount of node in the queue.
- Extent : tym::size__Return the extent of the queue.
- HasNext : bso::bool__Return true if Node has next node.
- HasPrevious : bso::bool__Return true if Node has previous node.
- Init : voidInitialization.
- InsertItemAfterNode : voidInsert Item after Node.
- InsertItemBeforeNode : voidInsert Item before Node.
- Next : rReturn node next to Node.
- Previous : rReturn node previous to Node.
- Remove : voidRemove node Node.
- Swap : voidSwap Node1 with Node2.
queue_manager__< typename r >
A queue manager. The managed queue must be provided at each call ('Queue' parameter).
Methods
Amount Create First Head Init InsertItemAfterNode InsertItemBeforeNode IsEmpty Last Next Previous Remove Swap Tail - Amount : tym::size__Return amount of node in the queue.
- Create : void
- r Item
- que::E_QUEUEt_(r) &
Create the queue with item Item.
- First : rReturn first node.
- Head : rReturn the head.
- Init : voidInitialization with queue Queue.
- InsertItemAfterNode : void
- r Item
- r Node
- E_QUEUE_ & Queue
Insert Item after Node.
- InsertItemBeforeNode : void
- r Item
- r Node
- E_QUEUE_ & Queue
Insert Item Before Node.
- IsEmpty : bso::bool__return true if empty, false otherwise.
- Last : rReturn last node.
- Next : r
- r Node
- const E_QUEUE_ & Queue
Return node next to Node.
- Previous : r
- r Node
- const E_QUEUE_ & Queue
Return node previous to Node.
- Remove : voidRemove Node".
- Swap : void
- r Node1
- r Node2
- E_QUEUE_ & Queue
Swap Node1 and Node2.
- Tail : rReturn the tail.
Library rqm
ReQuest Manager. Osolete. Use 'BRKRQM' instead.- Version : 1.4
- Release : 2000/11/26 22:16:30
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Enums Typedefs Classes Functions Enums
kind - kind : Item kind.
- kUndefined : Undefined value kind.
- kNormal : Normal item.
- kArray : Array item.
- kArrayLast : LAst array item.
- k_amount : Amount ot item type
Typedefs
cast__ command__ object__ type__ - cast__ : Cast
- command__ : Command
- object__ : Object
- type__ : Type
Classes
description_ descriptions_ request_manager___ description_
The description of a request.
Objects
- SET_(cast__) Casts : Parameters and return value types. Separated by cEnd. The cEnd to signalize the end of the request must NOT be put.
- str_string_ Name : Name of the command.
Methods
Add Amount Init Read - Add : voidAdding the cast Cast.
- Amount : SIZE__Return the amount of casts.
- Init : voidInitialization with casts values Casts, which must have a size of brkcst::c_amount. Casts is not copied, so it should not be modified.
- Init : void
- const char * Name
- cast Cast
- ...
Initializing with name Name and a list of casts. The list must contain 2 cEnd, the first at the end of the parameters casts, and 1 of the end of returned values casts. Cast is only here to avoid ambiguity with the next function.
- Init : void
- const char * Name
- const cast * Casts
Initializing with name Name and a the list of casts Casts. The list must contain 2 cEnd, the first at the end of the parameters casts, and 1 of the end of returned values casts.
- Read : castReturn the cas at position Position.
descriptions_
- XCONTAINER_( description_ )
Request descriptions.
Objects
- struct s : The descriptions
Methods
Add Amount Init Position - Add : POSITION__
- const description_ & Description
Adding Description. Return the position where added.
- Add : POSITION__
- const char * Name
- cast Cast
- ...
See descriptions_::Add() for the descriptions of the parameters. return the position where request description added. Cast is only here to avoid ambihity with the n,ext function.
- Add : POSITION__
- const char * Name
- const cast * Casts
See descriptions_::Add() for the descriptions of the parameters. return the position where request description added.
- Amount : SIZE__Return the amount of descriptions.
- Init : voidInitialization.
- Position : POSITION__Return the position of the description of the request named Name or NONE if non-existant.
- Position : POSITION__
- const description_ & Description
Return the position of the description Description.
request_manager___
A request manager.
Methods
AddValue BeginArray Complete EndArray GetValue Init Input Output SendExplanationMessage SetDescription - AddValue : void
- cast Cast
- const void * Value
Add Value of type Type.
- BeginArray : voidSignalize that a array session begins.
- Complete : voidTell that the request is complete (parsed and answered).
- EndArray : voidSignalize the end of a array session.
- GetValue : kindPut to Value the next return value which is of cast Cast. Return if the value red is the last item of an array.
- Init : voidInitialization with Channel to parse/answer the request.
- Input : flw::iflow___ &Return the channel used to handle the request as input flow.
- Output : flw::oflow___ &Return the channel used to handle the request as ouput flow.
- SendExplanationMessage : voidSend a message that explain the reason of no treatment.
- SetDescription : void
- const description_ & Description
Description is the description of the request being handled.
Functions
AddCast AddValue Complete IdCaste PutCommand PutObject - AddCast : void
- cast Cast
- flw::oflow___ & Request
Add cast id. Cast to request. Usually used to put cMulti and the required cEnd.
- AddValue : void
- cast Cast
- const void * Value
- flw::oflow___ & Request
Add to Request the value Value of type Type.
- Complete : voidComplete Request.
- IdCaste : castReturn the id of the cast Cast, or cInvalid if non-existent.
- PutCommand : void
- command__ Command
- flw::oflow___ & Request
Put command id Command in request. Succeed immediatly after PutObject().
- PutObject : void
- object__ Object
- flw::oflow___ & Request
Put the object id. Object in Request. You must begin with this function to create a request.
Library salcsm
Stand ALone CSM. Same as 'csm' library, but monothreaded.- Version : 1.5
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Classes Enums
behavior - behavior : Behavior.
- bUnknow : Unknow behavior.
- bContinue : Continue.
- bStop : Stop.
Classes
functions__ manager___ functions__
User defined functions.
Handlers
SALCSMCE SALCSMCI SALCSMCP SALCSMSE SALCSMSI SALCSMSP - SALCSMCE : voidClient ending functions.
- SALCSMCI : void *
- flw::ioflow___ & Client
- flw::ioflow___ & Server
Client initialization function.
- SALCSMCP : behavior
- flw::ioflow___ & Client
- flw::ioflow___ & Server
- void * UP
Client process function.
- SALCSMSE : voidServer ending function.
- SALCSMSI : void *Server initialization function.
- SALCSMSP : behavior
- flw::ioflow___ & Client
- void * UP
Server process function.
manager___
To handle client/manager operations, as in the CSM library, but without multitasking.
Methods
Init Process - Init : voidInitialization.
- Process : flw::ioflow___ &Process request written in returned flow.
Library saljni
Stand ALone JNI (Java Native Interface)- Version : 1.2.0
- Release : 20/05/2000 12:56:37
- Coordinators : Claude SIMON
Functions Functions
Init Process - Init : voidInitialization.
- Process : voidProcess.
Library sck
- Version : 1.7
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Functions Defines
SCK_DISCONNECTED SCK_INFINITE SCK_INVALID_SOCKET SCK_SOCKET_DEFAULT_TIMEOUT SCK_SOCKET_FLOW_BUFFER_SIZE - SCK_DISCONNECTED : Returned value to indicate that the connection no longer exists.
- SCK_INFINITE : Value to give to the TimeOut parameter to indicate waiting forever.
- SCK_INVALID_SOCKET : Invalid value for a socket descriptor ( socket__ ).
- SCK_SOCKET_DEFAULT_TIMEOUT : Default timeout, in seconds.
- SCK_SOCKET_FLOW_BUFFER_SIZE : The size of the buffers used by the flows.
Classes
socket_ioflow___ socket_ioflow___
Socket as input/output flow driver.
Methods
Init - Init : void
- socket__ Socket
- duration__ TimeOut = SCK_SOCKET_DEFAULT_TIMEOUT
Initialization with socket Socket and TimeOut as timeout.
Functions
Blocking Close CreateSocket Error Initialize Read Write - Blocking : void
- socket__ Socket
- bso::bool__ Value
The socket Socket becomes blocking or not, depend on the value of Value. Not currently available under Be OS.
- Close : voidClose the socket Socket.
- CreateSocket : socket__
- err::handle ErrHandle = err::hUsual
Create a socket. Only used in some particular multitasking program.
- Error : voidError becomes the error value returned by SCKError().
- Error : error__Return the last error.
- Initialize : voidInitialize TCP/IP layer.
- Read : amount__
- socket__ Socket
- amount__ Amount
- void * Buffer
- duration__ TimeOut = SCK_INFINITE
Put in Buffer up to Amount bytes for the Socket socket. Return the amount effectively red. If 0 is returned, it means that the Timeout expired. If the connection no longer exists, then SCK_DISCONNECTED is returned.
- Write : amount__
- socket__ Socket
- const void * Buffer
- amount__ Amount
- duration__ TimeOut = SCK_INFINITE
Write up to Amount bytes from Buffer to the socket Socket. Return the amount effectively written. If 0 is returned, it means TimeOut expired. If connection no longer exists, then SCK_DISCONNECTED is returned.
Library set
- Version : 1.2
- Release : 2001/01/08 22:48:20
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Functions Classes
set_ set__ set_core_ set_< class type >
- set_core_<type, MEMORY_( type ), aem::amount_extent_manager_>
A set of static object of type type. Use SET_( type ) rather then directly this class.
Methods
Adjust - Adjust : voidAdjust the extent to amount.
set__< typename type, int size >
- set_core_< type, MEMORY__( type, size ), aem::amount_extent_manager__< size > >
A set of maximum size static objects of type type. Use SET__( type, size ) rather then directly this class.
set_core_< class type, class memory, class manager >
Set core. Don't use ; for internal use only.
Methods
Add Allocate Delete Fill Init Insert New Position Truncate WriteAndAdjust - Add : POSITION__Add the object Object. Return the position where object added.
- Add : POSITION__
- const type * Buffer
- BSIZE__ Amount
Adding Amount object from Buffer. Return the position of the first object added.
- Add : POSITION__
- const set_core_ & Set
- SIZE__ Amount
Adding Amount object from Set. Return the position of the first object added.
- Add : POSITION__Add Set. Return the position where added.
- Allocate : void
- SIZE__ Size
- bso__bool Adjust = false
Allocate Size objects. Extent is forced to Size when Adjust at true.
- Delete : void
- POSITION__ Position
- SIZE__ Amount = 1
Delete Amount objects at position Position. The size of the set is reduced.
- Fill : void
- const type & Object
- SIZE__ Count
- POSITION__ Position = 0
Fill at Position with Object Count time.
- Fill : void
- const type & Object
- POSITION__ Position = 0
Fill from Position with Object.
- Init : voidInitialization.
- Insert : void
- const set_core_ & Source
- SIZE__ Amount
- POSITION__ PosSource
- POSITION__ PosDest
Insert at PosDest Amount objects from Source at PosSource.
- Insert : void
- const set_core_ & Set
- POSITION__ Position
Insert Set at Position.
- Insert : void
- const type & Object
- POSITION__ Position
Insert Object at Position
- Insert : void
- const type * Source
- BSIZE__ Amount
- POSITION__ Position
Insert at Position Amount objects from Source.
- New : POSITION__Return the position of the first of Amount new object.
- Position : POSITION__
- const type & Object
- POSITION__ Begin
- POSITION__ End
Return position of Object between Begin (included) and End (excluded), or NONE if not found.
- Position : POSITION__
- const type & Object
- POSITION__ Begin = 0
Return position of Object beginning at Begin (included), or NONE if not found.
- Truncate : voidRemove Amount objects from the end of the set.
- WriteAndAdjust : void
- const set_core_ & Set
- SIZE__ Amount
- POSITION__ Position = 0
- POSITION__ Offset = 0
Same as Write(), but allocate additionnaly memory if needed.
- WriteAndAdjust : void
- const type * Buffer
- BSIZE__ Amount
- POSITION__ Position = 0
Same as Write(), but allocate additionnaly memory if needed.
Functions
Compare - Compare : bso__sbyte
- const SET_(t) & S1
- const SET_(t) & S2
- POSITION__ BeginS1 = 0
- POSITION__ BeginS2 = 0
Return S1 - S2 which respectively begins at BeginS1 et Begins2.
- Compare : bso__sbyte
- const SET_(t) & S1
- const SET_(t) & S2
- POSITION__ BeginS1
- POSITION__ BeginS2
- SIZE__ Amount
Return S1 - S2 which respectively begin at BeginS1 et Begins2 and have a length of Amount.
Library shm
- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (simon@epeios.org)
Functions Functions
SHMAllocate SHMFree SHMMap SHMUnmap - SHMAllocate : shm__descReturn a descriptor to a portion of shared memory of size Size.
- SHMFree : voidFree the shared memory of descriptor Desc.
- SHMMap : void *Return a pointer to the memory mapped with the shared memory of descriptor Desc.
- SHMUnmap : voidUnmap the mapped memory corresponding to Mem.
Library sph
- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Functions Defines
SPH_INVALID - SPH_INVALID : An invalid semaphore descriptor.
Classes
sph__semaphore_ sph__semaphore_
A semaphore. Can only be allocated once.
Methods
Init Lock Unlock - Init : voidInitialization.with semaphore descriptor Semaphore.
- Lock : voidLock the semaphore. BLOCKING FUNCTION.
- Unlock : voidUnlock the semaphore.
Functions
SPHCreate SPHDelete - SPHCreate : sph__descReturn a new semaphore.
- SPHDelete : voidDelete the semaphore of descriptor Desc.
Library spp
- Version : 1.2
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Classes Functions Defines
SPP_FLOW_BUFFER_SIZE - SPP_FLOW_BUFFER_SIZE : The size of a flow buffer.
Enums
modus - modus : Modus.
- mNormal : Normal modus.
- mRequest : Request modus, after a writing is always followed by a reading.
Classes
master_shared_bipipe_ioflow___ shared_bipipe___ shared_pipe_iflow___ shared_pipe_oflow___ slave_shared_bipipe_ioflow___ master_shared_bipipe_ioflow___
Master shared bipipe input/output flow.
Methods
Init - Init : void
- shared_bipipe___ & SharedBipipe
Initialization with SharedBipipe
shared_bipipe___
A shared bipipe.
Methods
GetMaster GetSlave Init - GetMaster : shared_pipe___ &Return the handler of the master shared pipe.
- GetSlave : shared_pipe___ &Return the handler of the slave shared pipe.
- Init : voidInitialmization.
shared_pipe_iflow___
A shared pipe input flow.
Methods
Init - Init : void
- shared_pipe___ & SharedPipe
Initialization with shared pipe handler Handler.
shared_pipe_oflow___
A shared pipe output flow.
Methods
Init - Init : void
- shared_pipe___ & SharedPipe
Initialization with shared pipe handler Handler.
slave_shared_bipipe_ioflow___
Slave shared input/output pipe flow.
Methods
Init - Init : void
- shared_bipipe___ & SharedBipipe
Initialization with SharedBipipe.
Functions
Init LockRead LockWrite Read Write - Init : voidInitialization.
- LockRead : voidLock the read end of the pipe.
- LockWrite : voidLock the write end of the pipe.
- Read : amount__
- amount__ Amount
- data__ * Buffer
Put Amount( bytes into Buffer'.
- Write : amount__
- const data__ * Buffer
- amount__ Amount
- bso::bool__ Synchronization
Write Amount bytes from Buffer. If Synchronization at true, a synchronization occurs.
Library srv
- Version : 1.4
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Typedefs Classes Typedefs
service__ - service__ : The type of a service.
Classes
flow_functions__ listener___ server___ socket_functions__ flow_functions__
User functions with flow handler.
listener___
To listen at a port..
Methods
GetConnection Init Process - GetConnection : socket__
- err::handle ErrHandle = err::hUsual
Return the first available connection. BLOCKING FUNCTION.
- GetConnection : void
- socket__ & Socket
- err::handle ErrHandle = err::hUsual
Initialize Socket with the first connection available. BLOCKING FUNCTION.
- Init : bso::bool__
- service__ Service
- int Amount
- err::handle ErrHandle = err::hUsual
Initialzation with Service as port to listen. A maximum of Amount are accepted in the waiting queue.
- Init : bso::bool__
- service__ Service
- err::handle ErrHandle = err::hUsual
- int Amount = 5
Initialzation with Service as port to listen. A maximum of Amount are accepted in the waiting queue.
- Process : void
- socket_functions__ & Functions
- err::handle ErrHandle = err::hUsual
Handle new connection using Functions. BLOCKING FUNCTION.
server___
Handling a server, with process duplication for each client.
Methods
Init Process - Init : bso::bool__
- service__ Service
- int Amount
- err::handle ErrHandle = err::hUsual
Initialzation with Service as port to listen. A maximum of Amount are accepted in the waiting queue.
- Init : bso::bool__
- service__ Service
- err::handle ErrHandle = err::hUsual
- int Amount = 5
Initialzation with Service as port to listen. A maximum of Amount are accepted in the waiting queue.
- Process : void
- socket_functions__ & Functions
- err::handle ErrHandle = err::hUsual
Handle each new connection using Functions.
- Process : void
- flow_functions__ & Functions
- err::handle ErrHandle = err::hUsual
Handle each new connection using Functions.
socket_functions__
User functions with socket.
Library ssnmng
- Version : 1.5
- Release : 2001/05/27 20:15:41
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Defines Classes Defines
SSNMNG_SIZE - SSNMNG_SIZE : Size of the session id.
Classes
session_id__ sessions_manager_ session_id__
A session id.
Methods
Dump IsEmpty New Value - Dump : voidDump.
- IsEmpty : bso::bool__Return true if empty.
- New : voidCreate a new session id.
- Value : const char *Return the value of the session id.
sessions_manager_
A session manager.
Objects
- bch::E_BUNCH_(chrono__) Chronos : The timing.
- idxbtq::tree_queue_index_ Index : The index.
- bch::E_BUNCH_(session_id__) Table : The table of session ids.
Methods
Balance Close Init IsValid Open Position SessionID Touch - Balance : voidBalance the index.
- Close : voidRemove the session id at position Position.
- Init : void
- bso::ushort__ Relative = BSO_USHORT_MAX
- bso::ushort__ Absolute = BSO_USHORT_MAX
Initialization with Relative and Absolute amonut of second.
- IsValid : bso::bool__Return true if session corresponding to P is valid.
- Open : tym::row__Return the position of a mandatory new session.
- Position : tym::row__
- const session_id__ & SessionID
Return the position of SessionID or NONE if non-existent.
- Position : tym::row__Return the position of SessionID or NONE if non-existent.
- Position : tym::row__
- const str::string_ & SessionID
Return the position of SessionID or NONE if non-existent.
- SessionID : session_id__Return the session id. corresponding to Position.
- Touch : voidTouche the session corresponding at position P.
Handlers
SSNMNGAllocate - SSNMNGAllocate : voidPermit to make an allocation with a affected structure.
Library stf
- Version : 1.4
- Release : 2001/07/27 09:48:14
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Defines
STF_STREAM_FLOW_BUFFER_SIZE - STF_STREAM_FLOW_BUFFER_SIZE : Buffer size for a stream output flow. 100 by default.
Classes
istream_iflow___ istream_iflow_core___ istream_iflow_line___ ostream_oflow___ istream_iflow___
Internal use. File input flow from an istream.
Methods
Init - Init : voidInitialisation.
istream_iflow_core___
Internal use. Core of an input flow from an istream.
Methods
Init - Init : voidInitialisation.
istream_iflow_line___
Internal use. File input flow from an istream.
Methods
Init - Init : voidInitialisation.
ostream_oflow___
A stream output flow driver.
Methods
Init - Init : voidInitialization.
Library stk
- Version : 1.5
- Release : 2001/02/04 22:17:23
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
stack_ stack_< class t, typename r >
- tym::E_MEMORY_( t ),
- aem::amount_extent_manager_<r>
Stack of static objects of type t. Use STACK_( t ) rather then directly this class.
Methods
Init Pop Push - Init : voidInitialization.
- Pop : t
- aem::mode Mode = aem::mDefault
Return and remove the object at the bottom of the stack. If Adjust at true, than adjust the size of the stack.
- Push : rPlace Object at the top of the stack. Return the position where this object is put.
Library str
- Version : 1.7
- Release : 2001/07/27 09:48:14
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Functions Classes
string_ string_
A string.
Methods
Add Convert FilterOut Init Replace Search ToUL Write - Add : epeios::row__Add String and return position where added.
- Add : epeios::row__
- const char * String
- epeios::bsize__ Amount
Add Amount char from String. Return position wherer added.
- Add : epeios::row__Add C. Return position where added.
- Add : epeios::row__Add Sring. Return position where added.
- Convert : char *
- epeios::row__ Position = 0
- epeios::size__ Amount = TYM_MAX_SIZE
Convert Amount characters at Position from string to a char *. Returned pointer MUST be freed with free.
- FilterOut : voidFilter out the Model charactere.
- Init : voidInitialization.
- Init : voidInitialization with Seed.
- Replace : voidReplace the Old char with the New one.
- Search : epeios::row__
- const string_ & S
- epeios::row__ Start = 0
Return the position of the first occurence of S, beginning at Start. Return NONE if no occurence.
- Search : epeios::row__
- char C
- epeios::row__ Start = 0
Return the position of the first occurence of C, beginning at Start. Return NONE if no occurence.
- ToUL : bso::ulong__
- epeios::row__ & ErrP = *(epeios::row__ *)NULL
Convert to unsigned long. If ErrP != NULL, put the character where is an error or NONE when no error.
- Write : void
- const char * String
- epeios::row__ Position = 0
Write String at Position.
- Write : void
- const char * Buffer
- epeios::bsize__ Amount
- epeios::row__ Position
Write Amount char from String at Position.
- Write : void
- const string_ & Source
- epeios::size__ Quantity
- epeios::row__ Position = 0
- epeios::row__ Offset = 0
Write Quantity objects at Position from Source at Offset.
- Write : void
- char C
- epeios::row__ Position
Write C at Position.
Functions
Compare ToLower ToUpper operator << operator >> - Compare : bso::sbyte__
- const string_ & S1
- const string_ & S2
- epeios::row__ BeginS1
- epeios::row__ BeginS2
- epeios::size__ Amount
Return S1 - S2 beginning at BeginS1 and BeginS2 and a length of Amount.
- Compare : bso::sbyte__
- const string_ & S1
- const string_ & S2
- epeios::row__ BeginS1 = 0
- epeios::row__ BeginS2 = 0
Return S1 - S2 beginning at BeginS1 and BeginS2.
- ToLower : voidConvert String to lower case.
- ToUpper : voidConvert String to upper case.
- operator << : flw::oflow___ &
- flw::oflow___ & OStream
- const string_ & String
Put all the caracters of String on Ostream, and put a NULL character.
- operator >> : flw::iflow___ &
- flw::iflow___ & IStream
- string_ & String
Append all the characters from IStream to String until encounter a NULL character.
Library tagdtc
TAG DeTeCtor.- Version : 1.4
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Classes Defines
TAGDTC_EOF TAGDTC_MAX_ID TAGDTC_UNKNOW - TAGDTC_EOF : Special value indicating an unknow tag.
- TAGDTC_MAX_ID : Last available tag id.
- TAGDTC_UNKNOW : Special value indicating end of flow.
Enums
action - action : Action to do for the output.
- aPrint : Print to output.
- aSkip : Don't print to output.
Classes
tag_detector_ tag_detector_
Tag detector.
Methods
Add Init Parse - Add : voidAdd Tag and affect it Id.
- Add : void
- const str::string_ & Tag
- id__ Id
Add Tag and affect it Id.
- Init : voidInitialization.
- Parse : epeios::row_t__
- xtf::extended_text_iflow___ & IFlow
- txf::text_oflow___ & Flow
- char Delimiter
- tagdtc::action Action = tagdtc::aPrint
- err::handle ErrHandle = err::hUsual
Parse IFlow and write it to OFLow until it encounters a tag.between 2 Delimiter or EOX(). Return the tag id or an error code if error occurs
Library tagexp
TAG EXPander. Expand tag with text or file content.- Version : 1.7
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Typedefs Classes Functions Enums
nature status tag_id - nature : Nature of the tag reference.
- nUnknow : Unknow type.
- nText : A text.
- nFile : A file.
- nUserDefined : User-defined tag ; the expander gives the hand.
- status : Status of the expander.
- sOK : No error
- sBadFile : Unable to handle given file.
- sUnknowTag : Unknow tag,
- sUserDefined : Value above this one is the value of a user-defined tag id, this value is never returned, but the value of the tag instead.
- tag_id : Reserved tag ids.
- tPrint : Print to the output
- tSkip : Don't print to the output until encountering the Print or Raw tag.
- tRaw : Print the rest of the flow to the output as is, without expanding tags.
- tEnd : The rest of the flow is ignored.
- t_unused : value of the first unused tag.
Typedefs
base_natures_ value_ - base_natures_ : Natures of the tag references.
- value_ : Value of a tag referrnce.
Classes
natures_ references_ tag_expander_ natures_
Natures of the tag references.
Methods
operator () - operator () : natureReturn the value at Position.
references_
The tag references
Objects
- natures_ Natures : The nature of the tag reference
- ctn::E_XMCONTAINER_(value_) Values : The value of the tag references
Methods
Add Create Init Write - Add : id__
- const value_ & Value
- nature Nature
Add Value of nature Nature. Return the position where added.
- Create : id__Return the position of a new tag reference of nature Nature, which should be completed later.
- Init : voidInitialization.
- Write : void
- const value_ & Value
- nature Nature
- id__ Position
Write Value and Nature at Position.
tag_expander_
The tag expander.
Objects
- tag_detector_ Detector : The tag detector.
- references_ References : The tag references.
Methods
Add Assign Create Expand Init - Add : id__
- const str::string_ & Value
- tagexp::nature Nature
- const str::string_ & Tag
Add tag Tag with reference Reference of nature Nature. Return its id.
- Assign : void
- const str::string_ & Reference
- nature Nature
- id__ Id
Change to value Value of nature Nature the reference of the tag of id Id.
- Create : id__Create tag Tag which should be completed later. Return its id.
- Expand : tagexp::status
- xtf::extended_text_iflow___ & IFlow
- txf::text_oflow___ & OFlow
- bso::char__ Demlimiter
- str::string_ & File
- tagexp::action Action = tagexp::aPrint
- err::handle ErrHandle = err::hUsual
Write IFlow to OFlow with expanding tags delimited by Delimiter. If Action = aSkip then the contents isn't write to oflow until encoutering the tPrint or the tRaw tag. If retruned value > sUserDefined, then it's the value of an user-defined tag.
- Init : voidInitialization.
Functions
TagLabel - TagLabel : const char *Return the label of the reserved tag of id Id.
Library thrstr
PLEASE COMPLETE- Version : 1.1
- Release : 2000/11/15 09:25:38
- Coordinators : Claude L. SIMON (epeios@epeios.org)
Defines Classes Functions Defines
THRSTR_INVALID - THRSTR_INVALID : The value of an invalid handler.
Classes
thread_store___ thread_store___
A thread store.
Methods
Init Launch - Init : void
- thread_store_handler__ Handler
Initialinf with thread store handler Handler.
- Launch : voidLaunch a routine with UP as user pointer.
Functions
Close Create - Close : void
- thread_store_handler__ Handler
Delete Handler.
- Create : thread_store_handler__Create a thread_store_handler which deals with Routine.
Library tol
- Version : 1.17
- Release : 2001/10/16 11:10:27
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Functions Defines
TOL_DEFAULT_BACKUP_FILE_EXTENSION - TOL_DEFAULT_BACKUP_FILE_EXTENSION : The default backup file extension.
Enums
hbf rbf - hbf : How handle the backuped file.
- hbfRename : Rename it.
- hbfDuplicate : Duplicate it.
- rbf : Error code which can occurs during backup file operation.
- rbfOK : No error.
- rbfRenaming : error by renaming.
- rbfDuplication : Error by duplication. Occurs only with TOLCreateBackupFile().
- rbfSuppression : Error by suppression.
- rbfAllocation : Erreur by allocation. Occurs only with TOLRecoverBackupFile().
Functions
Clock CreateBackupFile Date DateAndTime FileExists ForceExit Free InitializeRandomGenerator RecoverBackupFile Time UP Wait Yield - Clock : unsigned longReturn a time in ms. Only usefull by susbstracting 2 value. Is different from clock() because ckock() only return how long the application is usibg the processor.
- CreateBackupFile : rbf
- const char * Name
- hbf Handle
- const char * Extension = TOL_DEFAULT_BACKUP_FILE_EXTENSION
- err::handle = err::hUsual
Make a backup file from the file File, if exist, in adding Extension. If Handle == tol::hbfDuplicate, the backup file is create by duplicating the original one. If Handle == tol::hbfRename, the bachup file is create by renaming the original one.
- Date : const char *Return the current date.
- DateAndTime : const char *Return current date é time.
- FileExists : boolReturn true if the file Name exists, false otherwise.
- ForceExit : voidForce the program to exit after Seconds second. Usefull to force a server to exit to obtain the profiling file.
- Free : voidFree Pointer only if != NULL. Pointer value becomes NULL.
- InitializeRandomGenerator : unsigned intInitialize the random generator using the date & time. The used value is returned to be used with the following function to make the random generator always start with the same value.
- InitializeRandomGenerator : voidInitialize the random generator with Seed.
- RecoverBackupFile : rbf
- const char * Name
- const char * Extension = TOL_DEFAULT_BACKUP_FILE_EXTENSION
- err::handle = err::hUsual
Recover the backup file Name with Extension as extension.
- Time : const char *Return current time.
- UP : void *Return the current user pointer
- UP : voidUP becomes the new user pointer
- Wait : voidWait Seconds seconds.
- Yield : voidTell the remainder to give hand to the next thread.
Library tsrcpr
Tagged SouRCe ParseR. Parse a tagged C++ source.- Version : 1.5
- Release : 2001/07/27 09:48:14
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Functions Classes
argument_ classe_ define_ enum_ function_ item_ library_ methode_ objet_ parametre_ shortcut_ template_ typedef_ argument_
Un argument de déclaration de template.
Objects
- str::string_ Name : Le nom.
- str::string_ Type : Le type ('class', int, long, ... ).
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
Analyse Stream
- Init : voidInitialisation.
classe_
Une classe.
Objects
- table_<str::string_> Bases : Bases classes.
- str::string_ Commentaire : Le commentaire.
- table_<methode_> Methodes : Les méthodes.
- str::string_ Name : Le nom.
- table_<objet_> Objets : Les objets.
- table_<objet_> Restreints : Les objets à accés restreints.
- template_ Template : Les déclarations de templates.
- str::string_ Type : Le type ('struct' ou class)
- table_<methode_> Virtuels : Les méthodes virtuelles.
Methods
Analyze Init operator = - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse Stream sachant que l'on se situe dans un commentaire long si Long, court sinon.
- Init : voidInitialisation.
- operator = : classe_ &Affectation.
define_
Un #define.
Objects
- table_<str::string_> Arguments : Les parametres.
- str::string_ Commentaire : Le commentaire associé.
- str::string_ Name : Le nom du define.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse Stream sachant que la doc. se situe dans un commentaire long si Long est à vrai
- Init : voidInitialisation.
enum_
An enum.
Objects
- str::string_ Commentary : Associated commentary.
- table_<item_> Items : Items.
- str::string_ Name : Enum name.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flow
- bso::bool__ Long
Analyze Flow with long commentary if Long at true.
- Init : voidInitialization.
function_
Une function.
Objects
- str::string_ Commentaire : Le commentaire.
- str::string_ Name : Le nom.
- table_<parametre_> Parametres : Les paramètres.
- template_ Template : La déclaration de template
- str::string_ Type : Le type.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse Stream sachant qu'il est précédé par un commentaire long si Long == true.
- Init : voidInitialisation.
item_
An item.
Objects
- str::string_ Commentary : Commentary.
- str::string_ Name : Name of item.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & IStream
- bso::bool__ Long
Parse Flow with long commentayr if Long ar true
- Init : voidInitialization.
library_
Un source.
Objects
- table_<classe_> Classes : Les classes.
- str::string_ Coordinators : Coordinators.
- table_<define_> Defines : Les defines.
- str::string_ Description : Short description.
- table_<enum_> Enums : Enums.
- table_<function_> Functions : Les functions.
- table_<objet_> Objets : Les objets.
- str::string_ Release : Date & time of release.
- table_<shortcut_> Shortcuts : Les shortcuts.
- table_<typedef_> Typedefs : Les typedefs.
- str::string_ Version : Version.
Methods
Analyze - Analyze : void
- xtf::extended_text_iflow___ & Flot
Analyze Flot.
methode_
Une méthode.
Objects
- str::string_ Commentaire : Le commentaire.
- str::string_ Name : Le nom.
- table_<parametre_> Parametres : Les paramètres.
- str::string_ Type : Le type.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse Stream sachant qu'il est précédé par un commentaire long si Long == true.
- Init : voidInitialisation.
objet_
Un objet contenu dans une classe.
Objects
- str::string_ Commentaire : Le commentaire.
- str::string_ Name : Le nom.
- str::string_ Type : Le type.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse le contenu de Stream sachant qu'il est précéde par un commentaire long si Long, court sinon.
- Init : voidInitialisation.
parametre_
Un paramètre.
Objects
- str::string_ Name : Le nom.
- str::string_ Type : Le type.
- str::string_ Valeur : La valeur par défaut.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
Analyse du ficher Stream.
- Init : voidInitialisation.
shortcut_
A shortcut..
Objects
- str::string_ Alias : L'alias.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
- bso::bool__ Long
Analyse Stream sachant que la doc. se situe dans un commentaire long si Long est à vrai
- Init : voidInitialisation.
template_
Une liste de déclaration de templates
Objects
- table_<argument_> Arguments : La liste des déclarations de templates.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & Flot
Analyse de Stream.
- Init : voidInitialisation
typedef_
Une définition de type (typedef).
Objects
- str::string_ Commentaire : Le commentaire associé.
- str::string_ Name : Le nom du type.
Methods
Analyze Init - Analyze : void
- xtf::extended_text_iflow___ & IStream
- bso::bool__ Long
Analyse Stream sachant que la doc. se situe dans un commentaire long si Long est à vrai
- Init : voidInitialisation.
Functions
operator << - operator << : txf::text_oflow___ &
- txf::text_oflow___ & Flot
- const parametre_ & P
Operateur de sortie pour P.
Library ttr
- Version : 1.4
- Release : 2001/07/27 09:48:14
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
ttr_chief ttr_tutor ttr_chief
Chief off all tutors.
Methods
Add Advertise First Init - Add : voidAdd a tutor.
- Advertise : voidPrint advertise to the console.
- First : ttr_tutor *Give the first tutor.
- Init : voidInitialization
ttr_tutor
A tutor for one library.
Objects
- const char * Date : Compilation date & time..
- const char * Name : Name of the library.
- const char * Owner : Owner of the library.
- const char * Version : Version of the library.
Methods
Advertise Next - Advertise : void
- txf::text_oflow___ & Flow
Print advertising of the library.
- Next : ttr_tutor *Return the next tutor.
Library txf
- Version : 1.3
- Release : 2001/10/16 11:10:28
- Coordinators : Claude L. SIMON (simon@epeios.org)
Classes Classes
text_iflow___ text_oflow___ text_iflow___
Input text flow.
Methods
Get Init - Get : amount__
- amount__ Amount
- data__ * Buffer
Read Amount characters and put them in Buffer.
- Get : unsigned charReturn the next character.
- Init : voidInitialization with the input flow Flow.
text_oflow___
Output text flow.
Methods
Init Put Synchronize - Init : voidInitializing with Flow as output flow.
- Put : voidWrite C;
- Put : void
- const data__ * Buffer
- amount__ Amount
Wrtie Amount data from Buffer.
- Synchronize : voidSynchronization.
Library txmhch
TeXt Manager HierarCHical- Version : 1.1.0
- Release : 07/04/2000 07:18:29
- Coordinators : Claude SIMON
Enums Typedefs Classes Enums
type - type : The type of a text node.
- tUnknow : Unknow type
- tTitle : Title.
- tNormal : Normal type.
- tListDescription : List description,
- tComment : Comment.
- tSubtitle : Subtitle.
- tReference : Reference.
Typedefs
txmhch_paragraph_ - txmhch_paragraph_ : A paragraph.
Classes
txmhch_hierarchical_text_ txmhch_node_ txmhch_hierarchical_text_
- LIST_,
- XMCONTAINER_( txmhch_node_ ),
- dtr_dynamic_tree_
A hierarchical text.
Methods
BecomeFirst BecomeLast BecomeNext BecomePrevious Create First Init Last Next Previous - BecomeFirst : POSITION__
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
- POSITION__ Position
Paragraph of type Type becomes first to node at Position. Returns its position.
- BecomeLast : POSITION__
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
- POSITION__ Position
Paragraph of type Type becomes last to node at Position. Returns its position.
- BecomeNext : POSITION__
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
- POSITION__ Position
Paragraph of type Type becomes next to node at Position. Returns its position.
- BecomePrevious : POSITION__
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
- POSITION__ Position
Paragraph of type Type becomes previous to node at Position. Returns its position.
- Create : POSITION__
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
Create Paragraph with type Type and return its position. To create root node.
- First : POSITION__Return first section from Section.
- Init : voidInitialization.
- Last : POSITION__Return last section from Section.
- Next : POSITION__Return section next to Section.
- Previous : POSITION__Return section next to Node.
txmhch_node_
A node.
Methods
Init Type - Init : voidInitialization.
- Init : void
- const txmhch_paragraph_ & Paragraph
- txmhch::type Type
Initialization with Paragraph of type Type ans level Level.
- Type : txmhch::typeReturn the type.
Library txmpgh
- Version : 1.3
- Release : 2001/05/19 07:51:23
- Coordinators : Claude L. SIMON (simon@epeios.org)
Enums Typedefs Classes Enums
state - state : state on a line. Odd name, would change if I found a better one.
- sIntegral : The line is not split.
- sSplit : The line is splitted.
Typedefs
line_ lines_ - line_ : A line.
- lines_ : Lines.
Classes
paragraph_ paragraph_
A paragraph manager.
Methods
Init Merge Parse - Init : voidInitialization.
- Merge : voidMerge the contain of the paragraph and put into Line. Paragraph remains unmodified.
- Parse : void
- xtf::extended_text_iflow___ & Flow
- txmpgh::state State = txmpgh::sIntegral
Parse the Flow flow. Extract one line for it, State is the paragraph state.
Library txmtbl
TeXt Manager TaBLe. Table like text flow manager.- Version : 1.9
- Release : 2001/05/07 07:49:27
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Enums Typedefs Classes Functions Defines
TXMTBL_DEFAULT_CELL_SEPARATOR TXMTBL_DEFAULT_ESCAPE_CHARACTER - TXMTBL_DEFAULT_CELL_SEPARATOR : The default cell separator character.
- TXMTBL_DEFAULT_ESCAPE_CHARACTER : The default escape character.
Enums
delimiter - delimiter : The different delimiter.
- dEOL : End of line.
- dSeparator : Separator
- dEOF : End of flow
- dUnknow : Unknow delimiter.
Typedefs
amount__ escape__ location__ separator__ - amount__ : An amount of cell or of line.
- escape__ : A escape char.
- location__ : A location (line or column).
- separator__ : A separator char.
Classes
cell_ line_ table_ cell_
A cell.
Methods
Init Location - Init : voidInitialization.
- Location : voidLocation becomes the location.
- Location : location__Return location of the cell.
line_
A line of cells
Methods
Add DeleteAllCells DeleteCellsAt DeleteCentralEmptyCells DeleteComment DeleteEmptyCells DeleteHeadingEmptyCells DeleteTailingEmptyCells FirstNonEmptyCell Init LastNonEmptyCell Location Write - Add : tym::row__
- const cell_ & Cell
- location__ Location
Add Cell and Location. Return position where added.
- DeleteAllCells : amount__Delete all cells. Return amount of cells deleted.
- DeleteCellsAt : amount__Delete all cells from Position. Return amount of cells deleted.
- DeleteCentralEmptyCells : amount__Delete all empty cells between the first and last non-empty cells. Return amount of cells deleted.
- DeleteComment : amount__Delete the cells beginnig with Marker and all following cells from the same line. Return amount of cell deleted.
- DeleteEmptyCells : amount__Delete all empty cells. Retunr amount of cells deleted.
- DeleteHeadingEmptyCells : amount__Delete all heading empty cells. Return amount of cells deleted.
- DeleteTailingEmptyCells : amount__Delete all tailing empty cells. Return amount of cells deleted.
- FirstNonEmptyCell : tym::row__Return the position of the first non-empty cell.
- Init : voidInitialization.
- LastNonEmptyCell : tym::row__Return the position of the last non-empty cell.
- Location : voidLocation becomes the location.
- Location : location__Return location of the line.
- Write : void
- const cell_ & Cell
- location__ Location
- tym::row__ Position
Write Cell and Location at Position.
table_
A table.
Methods
AddLine DeleteCentralEmptyCells DeleteComments DeleteEmptyCells DeleteEmptyLines DeleteHeadingEmptyCells DeleteLine DeleteTailingEmptyCells Init - AddLine : tym::row__Add Line. Return position where added.
- DeleteCentralEmptyCells : voidDelete all empty cells between the first and last non-empty cells from all the lines.
- DeleteComments : voidDelete, for each line, the cells beginning with Marker and all following cells.
- DeleteEmptyCells : voidDelete all empty cells from all lines.
- DeleteEmptyLines : amount__Delete all emty lines. Return amount of lines deleted.
- DeleteHeadingEmptyCells : voidDelete all heading cells from all the lines.
- DeleteLine : voidDelete the line at Position.
- DeleteTailingEmptyCells : voidDelete all tailing cells from all lines.
- Init : voidInitialization.
Functions
GetCell GetFirstNonEmptyLine GetLine GetTable SkipCell - GetCell : txmtbl::delimiter
- xtf::extended_text_iflow___ & Flow
- cell_ & Cell
- separator__ Separator = TXMTBL_DEFAULT_CELL_SEPARATOR
- escape__ Escape = TXMTBL_DEFAULT_ESCAPE_CHARACTER
Put in Cell the next cell in flow Flow. Separator delimits the celles. Return the delimiter of the cell.
- GetFirstNonEmptyLine : bso::bool__
- xtf::extended_text_iflow___ & Flow
- line_ & Line
- separator__ Separator = TXMTBL_DEFAULT_CELL_SEPARATOR
- escape__ Escape = TXMTBL_DEFAULT_ESCAPE_CHARACTER
Put in Line the first non-empty line in Flow and return true, or false if there is no more line. Cells are separated by Separator.
- GetLine : bso::bool__
- xtf::extended_text_iflow___ & Flow
- line_ & Line
- separator__ Separator = TXMTBL_DEFAULT_CELL_SEPARATOR
- escape__ Escape = TXMTBL_DEFAULT_ESCAPE_CHARACTER
Put in Line current line in Flow and return true, or false if there is no more line. Cells are separated by Separator.
- GetTable : void
- xtf::extended_text_iflow___ & Flow
- table_ & Table
- separator__ Separator = TXMTBL_DEFAULT_CELL_SEPARATOR
- escape__ Escape = TXMTBL_DEFAULT_ESCAPE_CHARACTER
Put in Table the line contained in Flow. Cells are separated by Separator.
- SkipCell : txmtbl::delimiter
- xtf::extended_text_iflow___ & Flow
- separator__ Separator = TXMTBL_DEFAULT_CELL_SEPARATOR
- escape__ Escape = TXMTBL_DEFAULT_ESCAPE_CHARACTER
Skip next cell in flow Flow. Separator delimits the cells. Return the delimiter of the cell.
Library tym
- Version : 1.7
- Release : 2001/06/16 09:11:21
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Functions Defines
E_MEMORYt__ - E_MEMORYt__(typeamountr) : A static set of amount object of type Type.
Classes
memory_ memory__ memory_core_ memory_< typename t, typename r >
- memory_core_< t, uym::untyped_memory_, r >
Memory of statical object of type t.
memory__< class t, int amount, int size, typename r >
- memory_core_< t, uym::untyped_memory__< amount * size >, r >
A static set of object of amount objects of type t of size size. The size parameter was added due to a bug of Borland C++, which doesn't like a sizeof as template parameter. Use E_MEMORY(t)__, it's easier.
memory_core_< typename t, typename b, typename r >
Typed memory core. Don't use; for internal use only.
Methods
Allocate Fill Init Position Read Write operator () - Allocate : voidAllocate Size objects.
- Fill : void
- const t & Object
- epeios::size__ Count
- r Position = 0
Fill at Position with Object Count times.
- Init : voidInitialization.
- Position : r
- const t & Object
- r Begin
- r End
Return the position from Object between Begin and End (excluded) oR NONE if non-existant.
- Read : void
- r Position
- epeios::bsize__ Amount
- t * Buffer
Put Amount objects at Position to Buffer.
- Read : voidPut in Value the object at Position.
- Read : void
- r Position
- epeios::size__ Quantity
- memory_core_<t, b, r> & Destination
- r Offset = 0
Put to Destination at Offset Quantity objects at Position.
- Read : tReturn the object at Position.
- Write : void
- const t * Buffer
- epeios::bsize__ Amount
- r Position
Write Amount object from Buffer at Position.
- Write : void
- const t & Valeur
- r Position
Write Value at Position.
- Write : void
- const memory_core_<t, b, r> & Source
- epeios::size__ Quantity
- r Position = 0
- r Offset = 0
Write Quantity objects at Position from Source at Offset.
- operator () : tReturn the object at Position..
Functions
Compare - Compare : bso::sbyte__
- const E_MEMORYt_(tr) & S1
- const E_MEMORYt_(tr) & S2
- r BeginS1
- r BeginS2
- epeios::size__ Quantity
Return E1 - E2 which begin at BeginS1 and BeginS2 and have a length of Quantity.
Library uym
UntYped Memory.- Version : 1.4
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Classes Functions Defines
NONE UYM_MAX_BUFFER_SIZE UYM_MAX_SIZE UYM_MIN_BUFFER_SIZE UYM_UNREACHABLE_POSITION - NONE : A position take this value if an object cannot be find.
- UYM_MAX_BUFFER_SIZE : Max. size max. of a copy buffer.
- UYM_MAX_SIZE : Maximal size of a memory.
- UYM_MIN_BUFFER_SIZE : Min. size of a copy buffer.
- UYM_UNREACHABLE_POSITION : Value that a position can not have.
Classes
memory_core__ untyped_memory untyped_memory_ untyped_memory__ memory_core__
Fixed-length memory core. Don't use; for internal use only.
Methods
Fill Init Position Read Write - Fill : void
- const data__ * Object
- bsize__ Size
- size__ Count
- row__ Position = 0
Fill at Position with Object of size Size Count times.
- Init : voidInitialization.
- Position : row__
- const data__ * Objet
- bsize__ Size
- row__ Begin
- row__ End
Return the position from Object of size Size between Begin and End (excluded) oR NONE if non-existant.
- Read : void
- row__ Position
- bsize__ Amount
- data__ * Buffer
Put in Buffer Amount bytes at Position.
- Read : data__Return byte at Position.
- Read : void
- row__ Position
- size__ Quantity
- memory_core__ & Destination
- row__ Offset = 0
Write at Offset in Destination Quantity bytes at Position.
- Write : void
- const data__ * Buffer
- bsize__ Amount
- row__ Position
Write to Position Amount bytes from Buffer.
- Write : void
- data__ Byte
- row__ Position
Write Byte at Position.
- Write : void
- const memory_core__ & Source
- size__ Quantity
- row__ Position = 0
- row__ Offset = 0
Write to Offset Quantity bytes at Position from Source.
untyped_memory
Untyped memory core. Don't use; for internal use only.
untyped_memory_
Untyped memory core. Don't use; for internal use only.
untyped_memory__< int size >
A memory with a size of size.
Functions
Allocate Compare Driver Fill Init Position Read Synchronize Write - Allocate : voidAllocates Capacity bytes.
- Compare : bso::sbyte__
- const untyped_memory_ & M1
- const untyped_memory_ & M2
- row__ BeginM1
- row__ BeginM2
- size__ Quantity
Return E1 - E2 which begin at BeginS1 and BeginS2 and have a length of Quantity.
- Driver : E_MEMORY_DRIVER_ *
- bso::bool__ Ignore = false
Return the used memory driver. Ignore is only for UYM_DBG mode and for the MMG library.
- Fill : void
- const data__ * Object
- bsize__ Size
- size__ Count
- row__ Position = 0
Fill at Position with Object of size Size Count times.
- Init : voidInitialization.
- Position : row__
- const data__ * Objet
- bsize__ Size
- row__ Begin
- row__ End
Return the position from Object of size Size between Begin and End (excluded) or NONE if non-existant.
- Read : void
- row__ Position
- bsize__ Amount
- data__ * Buffer
- bso::bool__ Ignore = false
Put in Buffer Amount bytes at Position. Ignore is only for UYM_DBG mode and for the MMG library. When true, it didn't make the test about the size.
- Read : data__Return byte at Position.
- Read : void
- row__ Position
- size__ Quantity
- untyped_memory_ & Destination
- row__ Offset = 0
Write at Offset in Destination Quantity bytes at Position.
- Synchronize : voidFlushes all the caches.
- Write : void
- const data__ * Buffer
- bsize__ Amount
- row__ Position
Wrtie to Position Amount bytes from Buffer
- Write : void
- data__ Byte
- row__ Position
Write Byte at Position.
- Write : void
- const untyped_memory_ & Source
- size__ Size
- row__ Position = 0
- row__ Offset = 0
Write to Offset Quantity bytes at Position from Source.
Library xmlbsc
eXtended Markup Langage BaSiCs- Version : 1.2
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Classes
basic_ file_memory_drivers basic_< typename i, typename r >
- E_LISTt_( r ),
- E_DTREEt_( r ),
- E_XMCONTAINERt_( i, r )
The basic manager of item type i and referred by referrence__
Methods
BecomeFirst BecomeLast BecomeNext BecomePrevious Create Exists GetRoot Init Plug - BecomeFirst : rThe new item Item becomes first child of node Node. Return position where Item is put.
- BecomeLast : rThe new name Name becomes last child of node Node. Return position where Name is put.
- BecomeNext : rThe new name Name becomes node next to node Node. Return position where Name is put.
- BecomePrevious : rThe new name Name becomes node previous to node Node. Return position where Name is put.
- Create : rReturn the position where new item Item is put.
- Create : rReturn the psotion of a new empty item which would be initialized later.
- Exists : bso::bool__Returns true if Node exists, or false if no.
- GetRoot : rReturn the root of the tree, NONE if none.
- Init : rInitialization with root Root. Return reference of the root node.
- Plug : void
- file_memory_drivers & Drivers
Plug the file meomry drivers Drivers. Call it BEFORE Init().
file_memory_drivers
Contains the file memory driver tu use together with the hdbbsc class. Designed for using with the merged memory ('MMG' library).
Methods
Init MakePersistent Manual - Init : void
- const char * Name
- const char * Directory = NULL
- const char * Suffix = "hdb"
Initialize with generic name Name, directory Directory and suffix Suffix.
- MakePersistent : voidMake persistent.
- Manual : voidManual mode.
Library xmlcor
eXtended Markup Language CORe- Version : 1.4
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Functions Classes
core_file_memory_drivers quick_tag_ quick_tag__ xml_core_ xml_core_filler__ core_file_memory_drivers
Core file drivers
Methods
Init - Init : void
- const char * Name
- const char * Directory
- const char * TagsSuffix
- const char * ValuesSuffix
Initialization with name Name and directory Directory.
quick_tag_
A quick tag. Speeds tag handling by providing directly the tag row rather then the tag name.
Objects
- name_ Name_ : The tag name.
Methods
GetName GetRow Init PutRow - GetName : const name_ &Return the name.
- GetRow : tag_row__Return the row.
- Init : voidInitialization with tag name Name.
- Init : voidInitialization with tag name Name.
- PutRow : voidRow becomes the current row value.
quick_tag__
A quick tag. Speeds tag handling by providing directly the tag row rather then the tag name.
Objects
- const char * Name_ : The tag name.
- tag_row__ Row_ : The tag row.
Methods
GetName GetRow Init PutRow - GetName : const char *Return the name.
- GetRow : tag_row__Return the row.
- Init : voidInitialization with tag name Name.
- PutRow : voidRow becomes the current row value.
xml_core_
The core for storing XML data.
Methods
First Init Next Plug - First : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Returns the position of the value tagged with TagRow and which is the first child of ValueRow, or NONE if none.
- First : value_row__Returns row of first value of value at Row
- Init : voidInitialization.
- Next : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Returns the position of the value tagged with TagRow and which is brother of ValueRow, or NONE if none.
- Next : value_row__Returns row of value next to value at Row
- Plug : void
- core_file_memory_drivers & Drivers
Drivers aer used to store data.
xml_core_filler__
A XML core filler.
Methods
Init - Init : voidInitialize with XMLC.
Functions
Add Convert - Add : void
- const tagged_values_ & Source
- const tag_map_ & TagMap
- tagged_values_ & Dest
Add Source to Dest using TagMap as table of correspondances between Source and Dest. NOTA: The value of the root is ignored.
- Add : void
- const xml_core_ & Source
- xml_core_ & Dest
Add Source into Dest using TagMap as table of correspondances between Source and Dest. NOTA: The value of the root is ignored.
- Convert : voidConvert special characters contained in Target. For example, < becomes <.
Library xmldbs
eXtended Markup Language DataBaSe- Version : 1.6
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Functions Classes
file_memory_drivers xml_database_ xml_database_filler__ file_memory_drivers
File drivers
Methods
Init - Init : void
- const char * Name
- const char * Directory = NULL
Initialization with name Name and directory Directory.
xml_database_
An XML database.
Methods
First GetValue Init Next - First : value_row__
- value_row__ ValueRow
- const value_ & Value
Return the position of the tagged value which have a value of Value and which is first child of tagged value at position ValueRow.
- First : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
- const value_ & Value
Return the position of tagged value which have a value of Value, tagged by TagRow and which is first child of tagged value at position Position.
- First : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Returns the position of the value tagged with TagRow and which is the first child of ValueRow, or NONE if none.
- First : value_row__Returns row of first value of value at Row
- GetValue : void
- value_row__ Row
- value_ & Value
Put into Value value at row Row.
- Init : voidInitialization.
- Next : value_row__
- value_row__ ValueRow
- const value_ & Value
Return the position of the tagged value which have a value of Value and which is brother of tagged value at position ValueRow.
- Next : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
- const value_ & Value
Return the position of tagged value which have a value of Value, tagged by TagRow and which is brother next to tagged value at position Position.
- Next : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Returns the position of the value tagged with TagRow and which is brother of ValueRow, or NONE if none.
- Next : value_row__Returns row of value next to value at Row
xml_database_filler__
A XML database filler.
Methods
GetDatabase Init PopTag PushTag PutAttribute PutValue - GetDatabase : xml_database_ &Return the XML database affected to this filler.
- Init : void
- xmldbs::xml_database_ & XMLD
Initialize with HDB.
- PopTag : xmldbs::tag_row__Parent tag becomes current tag, which reference is returned.
- PushTag : voidTagRow becomes current tag. Don't use this function if you are not absolutely sure of what you do.
- PushTag : tag_row__Tag with name Name becomes current tag and is created if needed. Return the reference of this tag.
- PushTag : tag_row__
- const name_ & Name
- tag_row__ & TagRow
If TagRow!= NONE, TagRow becomes the current tag. If TagRow == NONE, Name becomes current tag and is created if needed. The reference of this tag is returned and put in TagRow.
- PushTag : tag_row__Tag with name TagName becomes current tag and is created if needed. Return the reference of this tag.
- PushTag : tag_row__
- const char * Name
- tag_row__ & TagRow
If TagRow!= NONE, TagRow becomes the current tag. If TagRow == NONE, Name becomes current tag and is created if needed. The reference of this tag is returned and put in TagRow.
- PutAttribute : value_row__
- const tag_row__ TagRow
- const value_ & Value
Put attribute of tag row TagRow and value Value. Return its value row. Don't use this function if you are not sure of what you are doing.
- PutAttribute : value_row__
- const name_ & Name
- const value_ & Value
Put attribute of name Name and value Value. Return its value row.
- PutAttribute : value_row__
- const name_ & Name
- const value_ & Value
- tag_row__ & TagRow
Put attribute of name Name if TagRow == NONE or use TagRow, and value Value. The tag row of the attribute is put into TagRow. Return its value row.
- PutAttribute : value_row__
- const char * Name
- const value_ & Value
Put attribute of name Name and value Value. Return its value row.
- PutAttribute : value_row__
- const char * Name
- const value_ & Value
- tag_row__ & TagRow
Put attribute of name Name if TagRow == NONE or use TagRow, and value Value. The tag row of the attribute is put into TagRow. Return its value row.
- PutAttribute : value_row__
- const char * Name
- const char * Value
- tag_row__ & TagRow
Put attribute of name Name if TagRow == NONE or use TagRow, and value Value. The tag row of the attribute is put into TagRow. Return its value row.
- PutValue : xmldbs::value_row__
- const xmldbs::value_ & Value
Value becomes the value of the current value, which reference is returned.
- PutValue : value_row__Value becomes the value of the current value, which reference is returned.
- PutValue : value_row__
- const value_ & Value
- const tag_row__ TagRow
Put Value with tag TagRow. Return corresponding value row. Do not use this function if you are not absolutely sure of what you do.
- PutValue : value_row__
- const value_ & Value
- const name_ & TagName
Put Value with tag name TagName. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const char * TagName
Put Value with tag name TagName. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const name_ & TagName
- tag_row__ & TagRow
If TagRow != NONE, Value is put associated with TagRow. REturn its value row. If TagRow == NONE, Value is associated with TagName, and the row corresponding to TagName is put into TagRow.
- PutValue : value_row__
- const char * Value
- const char * TagName
Put Value with tag name TagName. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const char * TagName
- tag_row__ & TagRow
IF TagRow != NONE, Value is put associated with TagRow. Return corresponding value row. If TagRow == NONE, Value is associated with TagName, and the row corresponding to TagName is put into TagRow.
Functions
WriteXML - WriteXML : void
- const xml_database_ & XMLD
- txf::text_oflow___ & Flow
Write XMLD in XML format into Flow.
Library xmldcm
eXtended Markup Language DoCuMent- Version : 1.4
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Classes Functions Classes
file_memory_drivers xml_document_filler__ file_memory_drivers
File drivers
Methods
Init - Init : void
- const char * Name
- const char * Directory = NULL
Initialization with name Name and directory Directory.
xml_document_filler__
A XML document filler.
Methods
GetDocument Init PopTag PushTag PutAttribute PutValue - GetDocument : xml_document_ &Return the XML document affected to this filler.
- Init : void
- xmldcm::xml_document_ & XMLD
Initialize with XMLD.
- PopTag : tag_row__Parent tag becomes current tag, which reference is returned.
- PushTag : voidTagRow becomes current tag. Don't use this function if you are not absolutely sure of what you do.
- PushTag : tag_row__Tag with name Name becomes current tag and is created if needed. Return the reference of this tag.
- PushTag : tag_row__
- const name_ & Name
- tag_row__ & TagRow
If TagRow!= NONE, TagRow becomes the current tag. If TagRow == NONE, Name becomes current tag and is created if needed. The reference of this tag is returned and put in TagRow.
- PushTag : tag_row__Tag with name Name becomes current tag and is created if needed. Return the reference of this tag.
- PushTag : tag_row__
- const char * Name
- tag_row__ & TagRow
If TagRow!= NONE, TagRow becomes the current tag. If TagRow == NONE, Name becomes current tag and is created if needed. The reference of this tag is returned and put in TagRow.
- PutAttribute : value_row__
- const tag_row__ TagRow
- const value_ & Value
Put attribute of tag row TagRow and value Value. REturn its value row. Don't use this function if you are not sure of what you are doing.
- PutAttribute : value_row__
- const name_ & Name
- const value_ & Value
Put attribute of name Name and value Value. Return its value row.
- PutAttribute : value_row__
- const name_ & Name
- const value_ & Value
- tag_row__ & TagRow
Put attribute of name Name if TagRow == NONE or use TagRow, and value Value. The tag row of the attribute is put into TagRow. Return its value row.
- PutAttribute : value_row__
- const char * Name
- const value_ & Value
Put attribute of name Name and value Value. Return its value row.
- PutAttribute : value_row__
- const char * Name
- const value_ & Value
- tag_row__ & TagRow
Put attribute of name Name if TagRow == NONE or use TagRow, and value Value. The tag row of the attribute is put into TagRow. Return its value row.
- PutValue : value_row__Value becomes the value of the current value, which reference is returned.
- PutValue : value_row__Value becomes the value of the current value, which reference is returned.
- PutValue : value_row__
- const value_ & Value
- const tag_row__ TagRow
Put Value with tag TagRow. Do not use this function if you are not absolutely sure of what you do. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const name_ & TagName
Put Value with tag name TagName. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const name_ & TagName
- tag_row__ & TagRow
If TagRow != NONE, Value is put associated with TagRow. If TagRow == NONE, Value is associated with TagName, and the row corresponding to TagName is put into TagRow. Return its value row.
- PutValue : value_row__
- const value_ & Value
- const char * TagName
Put Value with tag name TagName. Return its value row.
- PutValue : tag_row__
- const value_ & Value
- const char * TagName
- tag_row__ & TagRow
If TagRow != NONE, Value is put associated with TagRow. If TagRow == NONE, Value is associated with TagName, and the row corresponding to TagName is put into TagRow.
Functions
GetValue Init WriteXML - GetValue : void
- value_row__ Row
- value_ & Value
Put into Value value at row Row (merged value).
- Init : voidInitialization.
- WriteXML : void
- const xml_document_ & XMLD
- txf::text_oflow___ & Flow
- value_row__ Root = NONE
Write XMLD, from root Root, in XML format into Flow.
Library xmlprs
eXtended Markup Langage PaRSer- Version : 1.3
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Functions Functions
ParseXML - ParseXML : void
- txf::text_iflow___ & Flow
- xmldcm::xml_document_ & XMLD
- int BufferLength
Fill XMLD with contents of Flow, with buffer of BufferLength (expat issue).
- ParseXML : void
- txf::text_iflow___ & Flow
- xmldbs::xml_database_ & XMLD
- int BufferLength
Fill XMLD with contents of Flow, with buffer of BufferLength (expat issue).
Library xmltag
eXtended Markup Langage TAG.- Version : 1.2
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Enums Typedefs Classes Functions Enums
mode type - mode : How to handle tag with no child in XML format.
- mWithEmptyTag : "<tag/>"
- mNoEmptyTag : "<tag></tag>".
- m_amount : amount of mode.
- type : The type of a name.
- tUnknow : Unknow type.
- tAttribute : An attribute.
- tField : A field
- tRoot : the root.
- t_amount : Amount of type.
Typedefs
basic_ name_ tag_map_ tag_row__ type__ - basic_ : The basic manager witouht templates.
- name_ : A tag name.
- tag_map_ : Correspondances between 2 tag tables.
- tag_row__ : A reference to a name.
- type__ : Type of a type (sorry !).
Classes
tag_ tags_ tag_
A tag.
Methods
Init IsAttribute Type - Init : voidInitialization.
- Init : void
- const name_ & Name
- type Type
Initialization with name Name and type Type.
- IsAttribute : bso::bool__Return true if an attribute, false otherwise.
- Type : typeReturns its type.
- Type : voidType become its type.
tags_
The tag manager
Methods
Init Position - Init : tag_row__Initialization. Returns root's reference.
- Position : tag_row__
- const name_ & Name
- tag_row__ TagRow
- type Type
Returns the position of tag named Name which belongs to TagRow and of type Type, or NONE if non-existant.
Functions
Merge WriteXML - Merge : void
- const tags_ & Source
- tags_ & Dest
- tag_map_ & TagMap
Merge Source into Dest. Put a table of correspondances between source and Dest into TagMap.
- WriteXML : void
- const tags_ & Tags
- txf::text_oflow___ & Flow
- mode Mode = mWithEmptyTag
Write Tags in XML format to Flow according Mode.
Library xmltol
eXtended Markup Language TOoLs- Version : 1.2
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Functions Functions
Convert Replace - Convert : void
- const xml_document_ & XMLDCM
- xml_database_ & XMLDBS
Convert XMLDCM into XMLDBS.
- Replace : void
- tags_ & Tags
- const xml_database_ & NewTags
Replace all tag name from Tags by NewTags.
Library xmlval
eXtended Markup Langage VALue.- Version : 1.2
- Release : 2001/11/06 09:13:04
- Coordinators : Claude L. SIMON (csimon@webmails.com)
Typedefs Classes Typedefs
basic_ value_ value_row__ - basic_ : The basic manager without templates.
- value_ : A value.
- value_row__ : A reference to a value.
Classes
tagged_value_ tagged_values_ tagged_value_
A tagged value.
Objects
- value_ Value : The value.
Methods
Init TagRow - Init : voidInitialization.
- Init : void
- const value_ & Value
- tag_row__ TagRow
Initialization with value Value and tag row TagRow.
- TagRow : voidTagRow becomes the new tag row.
- TagRow : tag_row__Return the current tag row.
tagged_values_
A tagged value manager. NOTA: the tag row affected to a value is NOT its tag, but the tag corresponding to its childs, hence the Raw prefix for some functions.
Methods
CreateFirst CreateLast CreateNext CreatePrevious First Init Next - CreateFirst : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Return position of a new empty item which is first to ValueRow and tagged with TagRow.
- CreateLast : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Return position of a new empty item which is last to ValueRow. and tagged with TagRow'.
- CreateNext : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Return position of a new empty item which is next to ValueRow and tagged with TagRow.
- CreatePrevious : value_row__
- value_row__ ValueRow
- tag_row__ TagRow
Return position of a new empty item which is Previous to ValueRow and tagged with TagRow.
- First : value_row__Returns the first child of ValueRow, or NONE if none.
- Init : value_row__Initialization with tag root row RootTag.
- Next : value_row__Returns the value next of ValueRow, or NONE if none.
Library xtf
eXtended Text Flow. Text flow with extended features.- Version : 1.4
- Release : 2001/04/29 17:43:06
- Coordinators : Claude L. SIMON (simon@epeios.org)
Defines Typedefs Classes Defines
XTF_EOXC XTF_EOXT - XTF_EOXC : To mark the end of flow, as char.
- XTF_EOXT : The char marking the end of flow, but as text.
Typedefs
location - location : type of position in a text (line or column).
Classes
extended_text_iflow___ extended_text_iflow___
To handle a text flow, with counting lines and columns.
Methods
Column EOX Get GetLine Init Line SkipLine Unget View - Column : locationReturn the column of the next character. If == 0, then a \n or a \r was unget()'.
- EOX : bso::bool__True if at end of text.
- Get : charExtract and return next character in flow.
- GetLine : voidPut the rest of the current line in Line.
- Init : voidInitialization with Flow..
- Line : locationReturn the ligne of the next character.
- SkipLine : voidSkip the current line.
- Unget : voidC would be the next character returned by get().
- View : charReturn the next character in the flow, but let it in the flow.
|