• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • graphics API Reference
  • KDE Home
  • Contact Us
 

digikam

  • extragear
  • graphics
  • digikam
  • core
  • dplugins
  • generic
  • tools
  • mediaserver
  • upnpsdk
  • Neptune
  • Source
  • Core
Classes | Macros | Variables
NptFile.h File Reference
#include "NptTypes.h"
#include "NptStreams.h"
#include "NptTime.h"
Include dependency graph for NptFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NPT_File
 
class  NPT_FileDateComparator
 
struct  NPT_FileInfo
 
class  NPT_FileInterface
 
class  NPT_FilePath
 

Macros

#define NPT_FILE_STANDARD_ERROR   "@STDERR"
 
#define NPT_FILE_STANDARD_INPUT   "@STDIN"
 
#define NPT_FILE_STANDARD_OUTPUT   "@STDOUT"
 

Variables

const int NPT_ERROR_DIRECTORY_NOT_EMPTY = NPT_ERROR_BASE_FILE - 9
 
const int NPT_ERROR_FILE_ALREADY_EXISTS = NPT_ERROR_BASE_FILE - 7
 
const int NPT_ERROR_FILE_ALREADY_OPEN = NPT_ERROR_BASE_FILE - 3
 
const int NPT_ERROR_FILE_BUSY = NPT_ERROR_BASE_FILE - 2
 
const int NPT_ERROR_FILE_NOT_DIRECTORY = NPT_ERROR_BASE_FILE - 6
 
const int NPT_ERROR_FILE_NOT_ENOUGH_SPACE = NPT_ERROR_BASE_FILE - 8
 
const int NPT_ERROR_FILE_NOT_OPEN = NPT_ERROR_BASE_FILE - 1
 
const int NPT_ERROR_FILE_NOT_READABLE = NPT_ERROR_BASE_FILE - 4
 
const int NPT_ERROR_FILE_NOT_WRITABLE = NPT_ERROR_BASE_FILE - 5
 
const int NPT_ERROR_NO_SUCH_FILE = NPT_ERROR_BASE_FILE - 0
 
const unsigned int NPT_FILE_ATTRIBUTE_LINK = 0x02
 
const unsigned int NPT_FILE_ATTRIBUTE_READ_ONLY = 0x01
 
const unsigned int NPT_FILE_OPEN_MODE_APPEND = 0x20
 
const unsigned int NPT_FILE_OPEN_MODE_CREATE = 0x04
 
const unsigned int NPT_FILE_OPEN_MODE_READ = 0x01
 
const unsigned int NPT_FILE_OPEN_MODE_TRUNCATE = 0x08
 
const unsigned int NPT_FILE_OPEN_MODE_UNBUFFERED = 0x10
 
const unsigned int NPT_FILE_OPEN_MODE_WRITE = 0x02
 

Macro Definition Documentation

#define NPT_FILE_STANDARD_ERROR   "@STDERR"

Definition at line 79 of file NptFile.h.

#define NPT_FILE_STANDARD_INPUT   "@STDIN"

Definition at line 77 of file NptFile.h.

#define NPT_FILE_STANDARD_OUTPUT   "@STDOUT"

Definition at line 78 of file NptFile.h.

Variable Documentation

const int NPT_ERROR_DIRECTORY_NOT_EMPTY = NPT_ERROR_BASE_FILE - 9

Definition at line 54 of file NptFile.h.

const int NPT_ERROR_FILE_ALREADY_EXISTS = NPT_ERROR_BASE_FILE - 7

Definition at line 52 of file NptFile.h.

const int NPT_ERROR_FILE_ALREADY_OPEN = NPT_ERROR_BASE_FILE - 3

Definition at line 48 of file NptFile.h.

const int NPT_ERROR_FILE_BUSY = NPT_ERROR_BASE_FILE - 2

Definition at line 47 of file NptFile.h.

const int NPT_ERROR_FILE_NOT_DIRECTORY = NPT_ERROR_BASE_FILE - 6

Definition at line 51 of file NptFile.h.

const int NPT_ERROR_FILE_NOT_ENOUGH_SPACE = NPT_ERROR_BASE_FILE - 8

Definition at line 53 of file NptFile.h.

const int NPT_ERROR_FILE_NOT_OPEN = NPT_ERROR_BASE_FILE - 1

Definition at line 46 of file NptFile.h.

const int NPT_ERROR_FILE_NOT_READABLE = NPT_ERROR_BASE_FILE - 4

Definition at line 49 of file NptFile.h.

const int NPT_ERROR_FILE_NOT_WRITABLE = NPT_ERROR_BASE_FILE - 5

Definition at line 50 of file NptFile.h.

const int NPT_ERROR_NO_SUCH_FILE = NPT_ERROR_BASE_FILE - 0

Definition at line 45 of file NptFile.h.

const unsigned int NPT_FILE_ATTRIBUTE_LINK = 0x02

Definition at line 75 of file NptFile.h.

const unsigned int NPT_FILE_ATTRIBUTE_READ_ONLY = 0x01

Definition at line 74 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_APPEND = 0x20

Definition at line 72 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_CREATE = 0x04

Definition at line 69 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_READ = 0x01

File open modes.

Use a combination of these flags to indicate how a file should be opened Note all combinations of flags are valid or meaningful: If NPT_FILE_OPEN_MODE_WRITE is not set, then NPT_FILE_OPEN_MODE_CREATE, NPT_FILE_OPEN_MODE_TRUNCATE and NPT_FILE_OPEN_MODE_APPEND are ignored. If NPT_FILE_OPEN_MODE_APPEND is set, then NPT_FILE_OPEN_MODE_CREATE is automatically implied whether it is set or not. NPT_FILE_OPEN_MODE_CREATE and NPT_FILE_OPEN_MODE_TRUNCATE imply each other (if one is set, the other one is automatically implied)

Definition at line 67 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_TRUNCATE = 0x08

Definition at line 70 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_UNBUFFERED = 0x10

Definition at line 71 of file NptFile.h.

const unsigned int NPT_FILE_OPEN_MODE_WRITE = 0x02

Definition at line 68 of file NptFile.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Wed Dec 11 2019 07:34:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages
-->

graphics API Reference

Skip menu "graphics API Reference"
  • digikam
  • KDiagram
  •     KChart
  •     KGantt
  • KPhotoAlbum
  •   AndroidRemoteControl
  • Krita
  •   libs
  •     KritaBasicFlakes
  •     brush
  •     KritaUndo2
  •     KritaFlake
  •     image
  •     KritaPlugin
  •     Krita
  •     KritaOdf
  •     KritaPigment
  •     KritaStore
  •     ui
  •     KritaWidgets
  •     KritaWidgetUtils
  •   plugins
  •     Assitants
  •     Extensions
  •     Filters
  •         KritaText
  •         KritaTextLayout
  •     Generators
  •     Formats
  •             src
  •     PaintOps
  •       libpaintop
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal