Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Public Attributes | Private Attributes
FilePersistence::CommitFile Struct Reference

Public Member Functions

 CommitFile ()
 
 CommitFile (QString relativePath, qint64 size, std::unique_ptr< char[], CommitFileContentDeleter > content)
 
 CommitFile (QString relativePath, qint64 size, std::unique_ptr< char[]> content)
 
const char * content () const
 

Public Attributes

QString relativePath_
 
qint64 size_ {}
 

Private Attributes

std::unique_ptr< char[]> content_
 
std::unique_ptr< char[], CommitFileContentDeletercontentWithDeleter_
 

Constructor & Destructor Documentation

◆ CommitFile() [1/3]

FilePersistence::CommitFile::CommitFile ( )

◆ CommitFile() [2/3]

FilePersistence::CommitFile::CommitFile ( QString  relativePath,
qint64  size,
std::unique_ptr< char[]>  content 
)

◆ CommitFile() [3/3]

FilePersistence::CommitFile::CommitFile ( QString  relativePath,
qint64  size,
std::unique_ptr< char[], CommitFileContentDeleter content 
)

Member Function Documentation

◆ content()

const char * FilePersistence::CommitFile::content ( ) const

Member Data Documentation

◆ content_

std::unique_ptr<char[]> FilePersistence::CommitFile::content_
private

◆ contentWithDeleter_

std::unique_ptr<char[], CommitFileContentDeleter> FilePersistence::CommitFile::contentWithDeleter_
private

◆ relativePath_

QString FilePersistence::CommitFile::relativePath_

◆ size_

qint64 FilePersistence::CommitFile::size_ {}