core.git
9 years agoRewrites
Roland Häder [Fri, 27 Jun 2014 09:58:07 +0000 (11:58 +0200)]
Rewrites

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoAdded setter/getter for a Minable instance (interface still in 'hub' project).
Roland Haeder [Wed, 25 Jun 2014 17:23:56 +0000 (19:23 +0200)]
Added setter/getter for a  Minable instance (interface still in 'hub' project).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing method.
Roland Häder [Tue, 24 Jun 2014 06:43:05 +0000 (08:43 +0200)]
Added missing method.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoAlso getSeekPosition() belongs here ... + TODOs.txt updated (--amend rocks!)
Roland Haeder [Mon, 23 Jun 2014 21:25:11 +0000 (23:25 +0200)]
Also getSeekPosition() belongs here ... + TODOs.txt updated (--amend rocks!)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agowriteData() also belongs here.
Roland Haeder [Mon, 23 Jun 2014 21:20:53 +0000 (23:20 +0200)]
writeData() also belongs here.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNo block instance here ...
Roland Haeder [Mon, 23 Jun 2014 21:16:37 +0000 (23:16 +0200)]
No block instance here ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agowriteAtPosition() also belongs in OutputPointer classes.
Roland Haeder [Mon, 23 Jun 2014 21:15:24 +0000 (23:15 +0200)]
writeAtPosition() also belongs in OutputPointer classes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed 'stacker' to 'stack' as they are stacks (FiFo and "FiLo").
Roland Haeder [Mon, 23 Jun 2014 20:48:24 +0000 (22:48 +0200)]
Renamed 'stacker' to 'stack' as they are stacks (FiFo and "FiLo").

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoEven more ...
Roland Haeder [Mon, 23 Jun 2014 18:16:33 +0000 (20:16 +0200)]
Even more ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThese constants have moved ... ;-)
Roland Haeder [Mon, 23 Jun 2014 18:15:05 +0000 (20:15 +0200)]
These constants have moved ... ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved iterator instancing + removed duplicate getPointer().
Roland Haeder [Mon, 23 Jun 2014 17:54:31 +0000 (19:54 +0200)]
Moved iterator instancing + removed duplicate getPointer().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSplitted 'binary specific' methods/attributes from generic file class and created...
Roland Haeder [Thu, 5 Jun 2014 20:43:32 +0000 (22:43 +0200)]
Splitted 'binary specific' methods/attributes from generic file class and created general text/binary classes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoInterface 'Block' is implemented also here ...
Roland Haeder [Wed, 4 Jun 2014 21:29:09 +0000 (23:29 +0200)]
Interface 'Block' is implemented also here ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNeed to call pointer instance ...
Roland Haeder [Wed, 4 Jun 2014 21:27:43 +0000 (23:27 +0200)]
Need to call pointer instance ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed parser error.
Roland Haeder [Wed, 4 Jun 2014 21:26:19 +0000 (23:26 +0200)]
Fixed parser error.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso add getFileSize() here, too. This satisfies the interface.
Roland Haeder [Wed, 4 Jun 2014 21:24:55 +0000 (23:24 +0200)]
Also add getFileSize() here, too. This satisfies the interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded isFileOnlyGaps() and getFileSize(), both are "basicly finished".
Roland Haeder [Wed, 4 Jun 2014 21:20:56 +0000 (23:20 +0200)]
Added isFileOnlyGaps() and getFileSize(), both are "basicly finished".

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis getter needs also to be public and be called through iterator.
Roland Haeder [Sat, 31 May 2014 11:58:57 +0000 (13:58 +0200)]
This getter needs also to be public and be called through iterator.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing methods (should not be called).
Roland Haeder [Sat, 31 May 2014 11:53:24 +0000 (13:53 +0200)]
Added missing methods (should not be called).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed: [FiFoFileStack:439] Method getHeaderSize() is unsupported or should not be...
Roland Haeder [Sat, 31 May 2014 11:51:48 +0000 (13:51 +0200)]
Fixed: [FiFoFileStack:439] Method getHeaderSize() is unsupported or should not be called.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed: Fatal error: Access to undeclared static property: BaseFrameworkSystem::$hashL...
Roland Haeder [Sat, 31 May 2014 11:49:25 +0000 (13:49 +0200)]
Fixed: Fatal error: Access to undeclared static property: BaseFrameworkSystem::$hashLength

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNo iterator here.
Roland Haeder [Sat, 31 May 2014 11:47:40 +0000 (13:47 +0200)]
No iterator here.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNow that Block has these methods, also these classes needs it.
Roland Haeder [Sat, 31 May 2014 11:46:17 +0000 (13:46 +0200)]
Now that Block has these methods, also these classes needs it.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso these methods must go through iterator.
Roland Haeder [Sat, 31 May 2014 11:42:39 +0000 (13:42 +0200)]
Also these methods must go through iterator.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThese 3 methods are now moved to BaseFile.
Roland Haeder [Sat, 31 May 2014 11:33:20 +0000 (13:33 +0200)]
These 3 methods are now moved to BaseFile.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso them has been moved.
Roland Haeder [Sat, 31 May 2014 11:24:48 +0000 (13:24 +0200)]
Also them has been moved.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoHad been moved.
Roland Haeder [Sat, 31 May 2014 11:23:17 +0000 (13:23 +0200)]
Had been moved.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoContinued with file abstraction:
Roland Haeder [Sat, 31 May 2014 11:18:48 +0000 (13:18 +0200)]
Continued with file abstraction:
- added markCurrentBlockAsEmpty()
- added index names for 'gaps' array
- fixed typo in method name

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRewrote next() to avoid loading whole empty file.
Roland Haeder [Fri, 30 May 2014 21:26:19 +0000 (23:26 +0200)]
Rewrote next() to avoid loading whole empty file.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoContinued:
Roland Haeder [Fri, 30 May 2014 20:39:34 +0000 (22:39 +0200)]
Continued:
- CalculatableBlock is the better interface as it narrows possible
  implemenations
- Moved a lot stuff from BaseFrameworkSystem to BaseFile as this is the right
  place (encapsulated place, not generic place).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed
Roland Häder [Mon, 26 May 2014 07:54:09 +0000 (09:54 +0200)]
Fixed

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoContinued:
Roland Haeder [Sat, 24 May 2014 14:34:04 +0000 (16:34 +0200)]
Continued:
- removed getBlockSeparator()
- added calculation of minimum length of an index entry

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis call leads nowhere, so better call own method.
Roland Haeder [Sat, 24 May 2014 13:50:34 +0000 (15:50 +0200)]
This call leads nowhere, so better call own method.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCall these methods from the iterator.
Roland Haeder [Sat, 24 May 2014 13:49:09 +0000 (15:49 +0200)]
Call these methods from the iterator.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAgain interface satisfaction ... ;-)
Roland Haeder [Sat, 24 May 2014 13:40:12 +0000 (15:40 +0200)]
Again interface satisfaction ... ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed parser error.
Roland Haeder [Sat, 24 May 2014 13:36:39 +0000 (15:36 +0200)]
Fixed parser error.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing methods which wraps the block instances for callbacks.
Roland Haeder [Sat, 24 May 2014 13:35:13 +0000 (15:35 +0200)]
Added missing methods which wraps the block instances for callbacks.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSatisfied interface, still these methods are unsupported.
Roland Haeder [Sat, 24 May 2014 13:28:49 +0000 (15:28 +0200)]
Satisfied interface, still these methods are unsupported.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed more and moved code to Block interface.
Roland Haeder [Sat, 24 May 2014 13:26:00 +0000 (15:26 +0200)]
Renamed more and moved code to Block interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSatified interface.
Roland Haeder [Sat, 24 May 2014 13:13:25 +0000 (15:13 +0200)]
Satified interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved more code to BaseFile as it makes sense to have it there.
Roland Haeder [Sat, 24 May 2014 13:10:43 +0000 (15:10 +0200)]
Moved more code to BaseFile as it makes sense to have it there.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSatisfied Pointer again.
Roland Haeder [Sat, 24 May 2014 12:43:43 +0000 (14:43 +0200)]
Satisfied Pointer again.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded more methods (required).
Roland Haeder [Sat, 24 May 2014 12:09:10 +0000 (14:09 +0200)]
Added more methods (required).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoEndless loop fixed.
Roland Haeder [Sat, 24 May 2014 11:55:09 +0000 (13:55 +0200)]
Endless loop fixed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved even more code to BaseFile where a much better place is for it (clear encapsula...
Roland Haeder [Sat, 24 May 2014 11:52:47 +0000 (13:52 +0200)]
Moved even more code to BaseFile where a much better place is for it (clear encapsulated).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUh, need this method now, but does it work this way?
Roland Haeder [Sat, 24 May 2014 11:36:59 +0000 (13:36 +0200)]
Uh, need this method now, but does it work this way?

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNo iterator call here + added assertion.
Roland Haeder [Sat, 24 May 2014 11:34:17 +0000 (13:34 +0200)]
No iterator call here + added assertion.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso satisfied it here.
Roland Haeder [Sat, 24 May 2014 11:32:04 +0000 (13:32 +0200)]
Also satisfied it here.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSatisfied Pointer interface for this class.
Roland Haeder [Sat, 24 May 2014 11:29:49 +0000 (13:29 +0200)]
Satisfied Pointer interface for this class.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved analyzeFile() to BaseFile where a much better place is (and duplicate
Roland Haeder [Sat, 24 May 2014 11:26:18 +0000 (13:26 +0200)]
Moved analyzeFile() to BaseFile where a much better place is (and duplicate
code is avoided, too).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIf the EOF is reached (means no block found or really reached the last block),
Roland Haeder [Fri, 23 May 2014 23:53:14 +0000 (01:53 +0200)]
If the EOF is reached (means no block found or really reached the last block),
the whole loaded data needs to be set as currently loaded block. Only
setCurrentBlock() needs to be called then. :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded assert() + noisy debug line + fixed double-implementation of an interface.
Roland Haeder [Fri, 23 May 2014 23:43:17 +0000 (01:43 +0200)]
Added assert() + noisy debug line + fixed double-implementation of an interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoEOF needs to be checked again.
Roland Haeder [Fri, 23 May 2014 23:37:26 +0000 (01:37 +0200)]
EOF needs to be checked again.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSyntax error fixed.
Roland Haeder [Fri, 23 May 2014 23:35:07 +0000 (01:35 +0200)]
Syntax error fixed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso satify these classes.
Roland Haeder [Fri, 23 May 2014 23:34:09 +0000 (01:34 +0200)]
Also satify these classes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced isEndOfFileReached() + added a noisy debug line.
Roland Haeder [Fri, 23 May 2014 23:32:08 +0000 (01:32 +0200)]
Introduced isEndOfFileReached() + added a noisy debug line.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved some code to BaseFrameworkSystem, and yes: getBlockSeparator() looks stupid...
Roland Haeder [Fri, 23 May 2014 23:25:04 +0000 (01:25 +0200)]
Moved some code to BaseFrameworkSystem, and yes: getBlockSeparator() looks stupid. ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoPossible implementation for next().
Roland Haeder [Fri, 23 May 2014 23:02:25 +0000 (01:02 +0200)]
Possible implementation for next().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced CalculatableBlock + basic implementation for valid().
Roland Haeder [Fri, 23 May 2014 19:12:07 +0000 (21:12 +0200)]
Introduced CalculatableBlock + basic implementation for valid().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSatisfied Pointer interface, but it will throw an exception ... ;-)
Roland Haeder [Thu, 22 May 2014 20:56:40 +0000 (22:56 +0200)]
Satisfied Pointer interface, but it will throw an exception ... ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced interface Pointer, valid() is now used.
Roland Haeder [Thu, 22 May 2014 20:29:15 +0000 (22:29 +0200)]
Introduced interface Pointer, valid() is now used.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded simple loop for checking entries. This will change in the future which is
Roland Haeder [Thu, 22 May 2014 19:58:52 +0000 (21:58 +0200)]
Added simple loop for checking entries. This will change in the future which is
the reason for putting same code in 2 classes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis factory method requires a 2nd parameter, 'wb' should be okay.
Roland Häder [Thu, 22 May 2014 08:18:11 +0000 (10:18 +0200)]
This factory method requires a 2nd parameter, 'wb' should be okay.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoRemoved declarations + final.
Roland Haeder [Wed, 21 May 2014 20:08:45 +0000 (22:08 +0200)]
Removed declarations + final.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved all to BaseFile. This currently makes all inheriting classes "lifeless"
Roland Haeder [Wed, 21 May 2014 19:45:48 +0000 (21:45 +0200)]
Moved all to BaseFile. This currently makes all inheriting classes "lifeless"
but this will change in the future.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoInputOutputPointer is the right interface.
Roland Haeder [Wed, 21 May 2014 19:35:49 +0000 (21:35 +0200)]
InputOutputPointer is the right interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSwitched from unabstracted file pointer class to a better abstract approach (unfinished).
Roland Haeder [Tue, 20 May 2014 21:07:52 +0000 (23:07 +0200)]
Switched from unabstracted file pointer class to a better abstract approach (unfinished).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded abstraction classes for file-based stacks and index files, some setter
Roland Haeder [Tue, 20 May 2014 21:03:07 +0000 (23:03 +0200)]
Added abstraction classes for file-based stacks and index files, some setter
have now access level 'protected' as 'public' was not a such good idea.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCommented out debug lines, another branch may help? But how then when this
Roland Haeder [Tue, 20 May 2014 20:14:09 +0000 (22:14 +0200)]
Commented out debug lines, another branch may help? But how then when this
repository is referenced as GIT module?

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced rewineUpdateSeekPosition() which needs to be called after
Roland Haeder [Tue, 20 May 2014 20:12:14 +0000 (22:12 +0200)]
Introduced rewineUpdateSeekPosition() which needs to be called after
pre-allocation is done, else the seek position (pointer) shows to the end of
the file which is what you don't want.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoOnly seek back to old position if the header has been flushed.
Roland Haeder [Tue, 20 May 2014 20:01:25 +0000 (22:01 +0200)]
Only seek back to old position if the header has been flushed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIf you don't rewind + update + flush header, the current seek position shows to
Roland Haeder [Tue, 20 May 2014 19:55:08 +0000 (21:55 +0200)]
If you don't rewind + update + flush header, the current seek position shows to
the end of the file. This is not what you want with empty files as the seek
position must show to zero (only "virgin" files).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso include stack name in type. This will allow more index files than one ...
Roland Haeder [Tue, 20 May 2014 19:50:27 +0000 (21:50 +0200)]
Also include stack name in type. This will allow more index files than one ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoOpps. ;-(
Roland Haeder [Tue, 20 May 2014 19:45:58 +0000 (21:45 +0200)]
Opps. ;-(

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced seekToOldPosition() and avoided endless loop.
Roland Haeder [Tue, 20 May 2014 19:41:41 +0000 (21:41 +0200)]
Introduced seekToOldPosition() and avoided endless loop.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed method + flushFileHeader() must be callable and have protected access level.
Roland Haeder [Tue, 20 May 2014 19:13:14 +0000 (21:13 +0200)]
Renamed method + flushFileHeader() must be callable and have protected access level.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced: caluclateMinimumFileEntryLength() which calculates the minimum length...
Roland Haeder [Tue, 20 May 2014 19:10:32 +0000 (21:10 +0200)]
Introduced: caluclateMinimumFileEntryLength() which calculates the minimum length for one file entry.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing config entries.
Roland Haeder [Tue, 20 May 2014 18:56:33 +0000 (20:56 +0200)]
Added missing config entries.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoOpps, needs to append index' file extension.
Roland Haeder [Tue, 20 May 2014 18:54:34 +0000 (20:54 +0200)]
Opps, needs to append index' file extension.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoHad to rename more stuff.
Roland Haeder [Tue, 20 May 2014 18:47:37 +0000 (20:47 +0200)]
Had to rename more stuff.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUse print_r() instead of direct value.
Roland Haeder [Tue, 20 May 2014 18:42:18 +0000 (20:42 +0200)]
Use print_r() instead of direct value.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoreadFileHeader() needs to have protected access level + assert on it.
Roland Haeder [Tue, 20 May 2014 18:40:35 +0000 (20:40 +0200)]
readFileHeader() needs to have protected access level + assert on it.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAnd another one needs to be removed.
Roland Haeder [Tue, 20 May 2014 18:37:45 +0000 (20:37 +0200)]
And another one needs to be removed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRemoved duplicate methods.
Roland Haeder [Tue, 20 May 2014 18:35:30 +0000 (20:35 +0200)]
Removed duplicate methods.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed one getSeekPosition() to determineSeekPosition().
Roland Haeder [Tue, 20 May 2014 18:33:37 +0000 (20:33 +0200)]
Renamed one getSeekPosition() to determineSeekPosition().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRemove duplicate super constructor.
Roland Haeder [Tue, 20 May 2014 18:30:00 +0000 (20:30 +0200)]
Remove duplicate super constructor.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCould generalize ("generic") more code which avoid some duplicate fields and methods...
Roland Haeder [Tue, 20 May 2014 18:27:45 +0000 (20:27 +0200)]
Could generalize ("generic") more code which avoid some duplicate fields and methods in BaseIndex.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing index instance with getter/setter.
Roland Haeder [Tue, 20 May 2014 17:27:58 +0000 (19:27 +0200)]
Added missing index instance with getter/setter.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded required interface, a special factories uses the Registry Pattern.
Roland Haeder [Tue, 20 May 2014 17:25:08 +0000 (19:25 +0200)]
Added required interface, a special factories uses the Registry Pattern.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years ago:-( :-(
Roland Haeder [Mon, 19 May 2014 21:31:13 +0000 (23:31 +0200)]
:-( :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years ago:-(
Roland Haeder [Mon, 19 May 2014 21:27:07 +0000 (23:27 +0200)]
:-(

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved 'file_stack_' after $type to have a nice name.
Roland Haeder [Mon, 19 May 2014 21:24:36 +0000 (23:24 +0200)]
Moved 'file_stack_' after $type to have a nice name.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing setter.
Roland Haeder [Mon, 19 May 2014 21:20:42 +0000 (23:20 +0200)]
Added missing setter.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoContinued with indexes/stacks:
Roland Haeder [Mon, 19 May 2014 21:10:35 +0000 (23:10 +0200)]
Continued with indexes/stacks:
- The FileStackIndexFactory now uses the Registry Pattern to have one index
  instance per given type.
- Passed through $prefix as "type"

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded initIndex().
Roland Haeder [Mon, 19 May 2014 20:35:25 +0000 (22:35 +0200)]
Added initIndex().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded basic classes (and unimplemented) for file-based indexes.
Roland Haeder [Mon, 19 May 2014 19:56:23 +0000 (21:56 +0200)]
Added basic classes (and unimplemented) for file-based indexes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSome 'final' more, some 'final' less. ;-)
Roland Haeder [Mon, 19 May 2014 18:57:05 +0000 (20:57 +0200)]
Some 'final' more, some 'final' less. ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMethods isStackFull() and isStackEmpty() needs to be overwritten, too.
Roland Haeder [Mon, 19 May 2014 18:55:00 +0000 (20:55 +0200)]
Methods isStackFull() and isStackEmpty() needs to be overwritten, too.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis method can be supported:
Roland Haeder [Mon, 19 May 2014 18:45:42 +0000 (20:45 +0200)]
This method can be supported:
- isStackEmpty() can use getStackCount() and compare it with zero.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThese methods may never be supported as initialization of file-based stacks does
Roland Haeder [Mon, 19 May 2014 18:44:21 +0000 (20:44 +0200)]
These methods may never be supported as initialization of file-based stacks does
currently not work.

Signed-off-by: Roland Häder <roland@mxchange.org>