Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/gadget/readfunc.h
[mareframe] / trunk / gadget / readfunc.h Repository:
ViewVC logotype

Annotation of /trunk/gadget/readfunc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef readfunc_h
2 :     #define readfunc_h
3 :    
4 :     #include "doublematrix.h"
5 :     #include "areatime.h"
6 :     #include "charptrvector.h"
7 :     #include "formulamatrixptrvector.h"
8 :     #include "commentstream.h"
9 :    
10 :     /**
11 :     * \brief This is the function that will count the number of columns of data in a file
12 :     * \param infile is the CommentStream to read the data from
13 :     * \return number of columns of data in the file
14 :     * \note This function currently counts the number of columns that the first line of data in the file has, and then assumes that the rest of the file has the same number of columns
15 :     */
16 :     int countColumns(CommentStream& infile);
17 :     /**
18 :     * \brief This is the function that will read reference weight data from a file into a matrix
19 :     * \param infile is the CommentStream to read the data from
20 :     * \param M is the DoubleMatrix that the reference weight data will be stored in
21 :     */
22 :     void readRefWeights(CommentStream& infile, DoubleMatrix& M);
23 :     void readAmounts(CommentStream& infile, const IntVector& tmpareas,
24 :     const TimeClass* const TimeInfo, const AreaClass* const Area,
25 :     FormulaMatrix& amount, const char* givenname);
26 :     void readGrowthAmounts(CommentStream& infile, const TimeClass* const TimeInfo,
27 :     const AreaClass* const Area, FormulaMatrixPtrVector& amount,
28 :     const CharPtrVector& lenindex, const IntVector& tmpareas);
29 :    
30 :     #endif
31 :    
32 :    
33 :    

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge