KeePass MSWifiPlugin
MSWifiImportPlugin.DataData< T > Class Template Reference

The data for a complex type More...

Inherits MSWifiImportPlugin.AbstractData.

Public Member Functions

 DataData (String eName, bool eIsMandory=false)
 Standard constructor More...
 
override void WriteXml (XmlWriter writer)
 Writes the data to a XML-file More...
 
override void ReadXml (XmlReader reader)
 Reads the data from a XML-file More...
 
override bool SaveIn (PwDatabase db, PwEntry entry)
 Writes a data to a given enty in a database More...
 
override bool ExistsIn (PwDatabase db, PwEntry entry)
 Checks whether the data is contained in a given entry More...
 
override bool LoadFrom (PwDatabase db, PwEntry entry)
 Reads a data from a given enty in a database More...
 
override void ClearIn (PwDatabase db, PwEntry entry)
 Deletes the data from a given enty in a database More...
 
override void Clear ()
 Clears the data More...
 
- Public Member Functions inherited from MSWifiImportPlugin.AbstractData
XmlSchema GetSchema ()
 Always null More...
 

Public Attributes

Value
 The value of the complex type More...
 

Properties

override bool WriteNecessary [get]
 
override bool IsValid [get]
 
- Properties inherited from MSWifiImportPlugin.AbstractData
bool IsMandory [get, set]
 If this is true and this is invalid, then its parent is invalid, too. More...
 
String EntryName [get, set]
 Name of the value in the database More...
 
abstract bool WriteNecessary [get]
 Whether the value must be written in the XML-file, i.e. its valid but not empty. More...
 
abstract bool IsValid [get]
 Whether the data is valid, i.e. all mandory subentries have to valid. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MSWifiImportPlugin.AbstractData
 AbstractData (String eName, bool eIsMandory)
 Standard constructor More...
 

Detailed Description

The data for a complex type

Template Parameters
TThe complex type containing every subvalue, Data
Type Constraints
T :Data 
T :new() 

Constructor & Destructor Documentation

◆ DataData()

MSWifiImportPlugin.DataData< T >.DataData ( String  eName,
bool  eIsMandory = false 
)

Standard constructor

Parameters
eNameA necessary value in the database
eIsMandoryWhether the data is necessary for the parent data

Member Function Documentation

◆ Clear()

override void MSWifiImportPlugin.DataData< T >.Clear ( )
virtual

Clears the data

Implements MSWifiImportPlugin.AbstractData.

◆ ClearIn()

override void MSWifiImportPlugin.DataData< T >.ClearIn ( PwDatabase  db,
PwEntry  entry 
)
virtual

Deletes the data from a given enty in a database

Parameters
dbThe database in which the entry is safed
entryThe entry from which the data will be removed.

Implements MSWifiImportPlugin.AbstractData.

◆ ExistsIn()

override bool MSWifiImportPlugin.DataData< T >.ExistsIn ( PwDatabase  db,
PwEntry  entry 
)
virtual

Checks whether the data is contained in a given entry

Parameters
dbThe database in which the entry is safed
entryThe entry in which the data is (or isn't) safed.
Returns
Whether the data is contained in a given entry.

Implements MSWifiImportPlugin.AbstractData.

◆ LoadFrom()

override bool MSWifiImportPlugin.DataData< T >.LoadFrom ( PwDatabase  db,
PwEntry  entry 
)
virtual

Reads a data from a given enty in a database

Parameters
dbThe database in which the entry is safed
entryThe entry in which the data was saved.
Returns
Whether the data is successfully loaded.

Implements MSWifiImportPlugin.AbstractData.

◆ ReadXml()

override void MSWifiImportPlugin.DataData< T >.ReadXml ( XmlReader  reader)
virtual

Reads the data from a XML-file

Parameters
writerThe corresponding reader

Implements MSWifiImportPlugin.AbstractData.

◆ SaveIn()

override bool MSWifiImportPlugin.DataData< T >.SaveIn ( PwDatabase  db,
PwEntry  entry 
)
virtual

Writes a data to a given enty in a database

Parameters
dbThe database in which the entry is safed
entryThe entry in which the data will be safed.
Returns
Whether the data is successfully saved.

Implements MSWifiImportPlugin.AbstractData.

◆ WriteXml()

override void MSWifiImportPlugin.DataData< T >.WriteXml ( XmlWriter  writer)
virtual

Writes the data to a XML-file

Parameters
writerThe corresponding writer

Implements MSWifiImportPlugin.AbstractData.

Member Data Documentation

◆ Value

The value of the complex type


The documentation for this class was generated from the following file: