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

Public Member Functions

 AddIfFile (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 1794 of file updater.cxx.

Constructor & Destructor Documentation

◆ AddIfFile()

AddIfFile::AddIfFile ( ArchiveReader archiveReader)

Definition at line 1808 of file updater.cxx.

Member Function Documentation

◆ Execute()

int AddIfFile::Execute ( )
virtual

Reimplemented from AddFile.

Definition at line 1844 of file updater.cxx.

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

◆ Finish()

void AddIfFile::Finish ( int  status)
virtual

Reimplemented from AddFile.

Definition at line 1853 of file updater.cxx.

References AddFile::Finish(), and mTestFile.

◆ Parse()

int AddIfFile::Parse ( NS_tchar line)
virtual

Reimplemented from AddFile.

Definition at line 1814 of file updater.cxx.

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

◆ Prepare()

int AddIfFile::Prepare ( )
virtual

Reimplemented from AddFile.

Definition at line 1831 of file updater.cxx.

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

Member Data Documentation

◆ mTestFile

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

Definition at line 1805 of file updater.cxx.

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


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