[GRASS-SVN] r56088 - grass/trunk/include/vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 2 13:43:48 PDT 2013
Author: martinl
Date: 2013-05-02 13:43:48 -0700 (Thu, 02 May 2013)
New Revision: 56088
Modified:
grass/trunk/include/vect/dig_structs.h
Log:
vlib: doxygen cosmetics (Map_info struct)
Modified: grass/trunk/include/vect/dig_structs.h
===================================================================
--- grass/trunk/include/vect/dig_structs.h 2013-05-02 20:36:26 UTC (rev 56087)
+++ grass/trunk/include/vect/dig_structs.h 2013-05-02 20:43:48 UTC (rev 56088)
@@ -1224,9 +1224,10 @@
*/
struct Map_info
{
- /* common info for all formats */
+ /*** common info for all formats ***/
+
/*!
- \brief Format (native, ogr)
+ \brief Map format (native, ogr, postgis)
- GV_FORMAT_NATIVE
- GV_FORMAT_OGR
@@ -1234,13 +1235,14 @@
- GV_FORMAT_POSTGIS
*/
int format;
+
/*!
- \brief Temporary file flag, not yet used
+ \brief Temporary map flag
*/
int temporary;
/*!
- \brief DB links
+ \brief Array of DB links
*/
struct dblinks *dblnk;
@@ -1249,7 +1251,6 @@
*/
struct Plus_head plus;
- /* graph-related section */
/*!
\brief Graph-related section - line type used to build the graph
*/
@@ -1286,35 +1287,42 @@
Should be 0x5522AA22 (VECT_OPEN_CODE) if opened correctly
or 0x22AA2255 (VECT_CLOSED_CODE) if closed
- anything else implies that structure has
- never been initialized
+
+ Anything else implies that structure has never been initialized
*/
int open;
+
/* Open mode
+
- read (GV_MODE_READ),
- write (GV_MODE_WRITE),
- rw (GV_MODE_RW)
*/
int mode;
+
/*!
\brief Topology level
+
- 1 (without topo)
- - 2 (with topo)
- - 3 (with 3D topo) - not yet implemented
+ - 2 (with 2D topology)
+ - 3 (with 3D topology) - not yet implemented
*/
int level;
+
/*!
\brief Open only header
Non-zero code to open only header of vector map
*/
int head_only;
+
/*!
\brief Support files were updated
Non-zero code to indicate that supoort file were updated
*/
int support_updated;
+
/*!
\brief Sequential read (level 1) - see Vect_read_next_line()
@@ -1330,9 +1338,10 @@
\brief Mapset name
*/
char *mapset;
- /* location and gisdbase is useful if changed (v.proj or external apps) */
/*!
\brief Location name
+
+ Note: location and gisdbase is useful if changed (v.proj or external apps)
*/
char *location;
/*!
@@ -1340,8 +1349,6 @@
*/
char *gisdbase;
- /* constraints for reading in lines (not polys yet) */
-
/*!
\brief Constraints for sequential feature access
*/
@@ -1377,8 +1384,13 @@
*/
int proj;
- /* format specific */
+ /*!
+ \brief History file
+ */
+ FILE *hist_fp;
+ /*** format specific ***/
+
/*!
\brief GV file pointer (native format only)
*/
@@ -1388,17 +1400,11 @@
*/
struct dig_head head;
- /* non native */
/*!
\brief Format info for non-native formats
*/
struct Format_info fInfo;
- /*!
- \brief History file
- */
- FILE *hist_fp;
-
/* temporary solution for sites - to be removed ?*/
/*!
More information about the grass-commit
mailing list