LibreOffice Module onlineupdate (master) 1
Public Member Functions | Protected Attributes | List of all members
AddIfNotFile Class Reference
Inheritance diagram for AddIfNotFile:
[legend]
Collaboration diagram for AddIfNotFile:
[legend]

Public Member Functions

 AddIfNotFile (ArchiveReader &archiveReader)
 
virtual int Parse (NS_tchar *line)
 
virtual int Prepare ()
 
virtual int Execute ()
 
virtual void Finish (int status)
 
- Public Member Functions inherited from AddFile
 AddFile (ArchiveReader &ar)
 
virtual int Parse (NS_tchar *line)
 
virtual int Prepare ()
 
virtual int Execute ()
 
virtual void Finish (int status)
 
- Public Member Functions inherited from Action
 Action ()
 
virtual ~Action ()
 
virtual int Parse (NS_tchar *line)=0
 
virtual int Prepare ()=0
 
virtual int Execute ()=0
 
virtual void Finish (int status)=0
 

Protected Attributes

std::unique_ptr< NS_tchar[]> mTestFile
 

Additional Inherited Members

- Public Attributes inherited from Action
int mProgressCost
 

Detailed Description

Definition at line 1861 of file updater.cxx.

Constructor & Destructor Documentation

◆ AddIfNotFile()

AddIfNotFile::AddIfNotFile ( ArchiveReader archiveReader)

Definition at line 1875 of file updater.cxx.

Member Function Documentation

◆ Execute()

int AddIfNotFile::Execute ( )
virtual

Reimplemented from AddFile.

Definition at line 1911 of file updater.cxx.

References AddFile::Execute(), mTestFile, and OK.

◆ Finish()

void AddIfNotFile::Finish ( int  status)
virtual

Reimplemented from AddFile.

Definition at line 1920 of file updater.cxx.

References AddFile::Finish(), and mTestFile.

◆ Parse()

int AddIfNotFile::Parse ( NS_tchar line)
virtual

Reimplemented from AddFile.

Definition at line 1881 of file updater.cxx.

References get_valid_path(), kQuote, line, mstrtok(), mTestFile, new_absolute_path(), AddFile::Parse(), and PARSE_ERROR.

◆ Prepare()

int AddIfNotFile::Prepare ( )
virtual

Reimplemented from AddFile.

Definition at line 1898 of file updater.cxx.

References mTestFile, NS_taccess, NULL, OK, and AddFile::Prepare().

Member Data Documentation

◆ mTestFile

std::unique_ptr<NS_tchar[]> AddIfNotFile::mTestFile
protected

Definition at line 1872 of file updater.cxx.

Referenced by Execute(), Finish(), Parse(), and Prepare().


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