Difference between revisions of "Ferreteria/v0.3/class"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
Line 1: Line 1:
 +
==Lists==
 +
* [[Special:SearchByProperty/cl:OnRoaW5nLTIwdHlwZS9jbGFzcy0yRmZlcnJldGVyaWE|alphabetical list of classes]]
 
==Data==
 
==Data==
 
''rearrangement in progress''
 
''rearrangement in progress''
  
 
Core functionality:
 
Core functionality:
* handle current row
+
* handle current row - {{l/ferreteria/class|cFieldRow}}
 +
* handle multiple rows
 +
** sequential - {{l/ferreteria/class|tSequentialAccess}}
 +
*** status (how many rows found)
 +
*** position row cursor
 +
*** access current row
 +
*** end-of-rowset flag
 +
** indexed
  
 
Database sources:
 
Database sources:
 
* manage what's in the source (selected, sequential access)
 
* manage what's in the source (selected, sequential access)
** report status
 
*** how many rows found
 
** position row cursor
 
** access current row
 
  
 
Currently, Table (Source) objects define:
 
Currently, Table (Source) objects define:
* name of single-row class
+
* name of single-row class ({{l/ferreteria/class|cIOSource}})
* name of database table
+
* name of database table ({{l/ferreteria/class|cIOSource_standard_table}}) or other SQL to access it ({{l/ferreteria/class|tSelectable_Source}})
 +
** tSelectable_Source might be replaced by tDataSource
  
 
There are two types of accessible data, when dealing with databases:
 
There are two types of accessible data, when dealing with databases:
Line 20: Line 26:
 
* data that is being stored in memory, and can be accessed by index (core functionality)
 
* data that is being stored in memory, and can be accessed by index (core functionality)
  
Functionality sets:
+
===Root Classes===
* things that do I/O with an external source
 
* things that manage loaded data
 
==Root Classes==
 
 
* {{l/ferreteria/class|cIOSource}}
 
* {{l/ferreteria/class|cIOSource}}
* {{l/ferreteria/class|cIORow}}
+
* {{l/ferreteria/class|cFieldRow}}
 
* {{l/ferreteria/class|cPortalRow}}
 
* {{l/ferreteria/class|cPortalRow}}
==Traits==
+
===Traits===
 +
* {{l/ferreteria/class|tFieldClasses}}
 
* {{l/ferreteria/class|tInternalStorage}}
 
* {{l/ferreteria/class|tInternalStorage}}
 +
* {{l/ferreteria/class|tSelectable_Source}}
 
* {{l/ferreteria/class|tSequentialAccess}}
 
* {{l/ferreteria/class|tSequentialAccess}}
 +
* {{l/ferreteria/class|tSource_SingleKeyed}}
 
* {{l/ferreteria/class|tSourcedStorage}}
 
* {{l/ferreteria/class|tSourcedStorage}}

Revision as of 22:02, 30 December 2018

Lists

Data

rearrangement in progress

Core functionality:

  • handle current row - cFieldRow
  • handle multiple rows
    • sequential - tSequentialAccess
      • status (how many rows found)
      • position row cursor
      • access current row
      • end-of-rowset flag
    • indexed

Database sources:

  • manage what's in the source (selected, sequential access)

Currently, Table (Source) objects define:

There are two types of accessible data, when dealing with databases:

  • data that has been loaded into a black-box "resource" rowset, and can be accessed sequentially
  • data that is being stored in memory, and can be accessed by index (core functionality)

Root Classes

Traits