Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add a get_file_descriptor() function to File
  • Loading branch information
Soeren Sonnenburg committed Oct 17, 2011
1 parent cb90e0d commit 6f2007f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/shogun/io/File.h
Expand Up @@ -66,6 +66,15 @@ class CFile : public CSGObject
file=NULL;
}

/** get the file descriptor
*
* @return FILE ptr
*/
FILE* get_file_descriptor()
{
return file;
}

/** set the path to the variable to be accessed
*
* only supported by some file interfaces like CHDF5File
Expand Down

0 comments on commit 6f2007f

Please sign in to comment.