C# 클래스 FSpot.Photo

상속: FSpot.DbItem, IComparable, IPhoto, IPhotoVersionable
파일 보기 프로젝트 열기: mono/f-spot 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddVersionUnsafely void
CreateVersion uint
CreateVersion uint
DeleteEmptyDirectory void
DirectoryIsEmpty bool
GetFilenameForVersionName string

공개 메소드들

메소드 설명
AddTag ( IEnumerable taglist ) : void
AddTag ( FSpot.Tag tag ) : void
AddTagUnsafely ( FSpot.Tag tag ) : void
AddVersion ( SafeUri base_uri, string filename, string name ) : uint
AddVersion ( SafeUri base_uri, string filename, string name, bool is_protected ) : uint
CompareTo ( Photo photo ) : int
CompareTo ( object obj ) : int
CopyAttributesFrom ( Photo that ) : void
CreateDefaultModifiedVersion ( uint base_version_id, bool create_file ) : uint
CreateNamedVersion ( string name, string extension, uint base_version_id, bool create_file ) : uint
CreateReparentedVersion ( FSpot.PhotoVersion version ) : uint
CreateReparentedVersion ( FSpot.PhotoVersion version, bool is_protected ) : uint
CreateVersion ( string name, uint base_version_id, bool create ) : uint
DeleteVersion ( uint version_id ) : void
DeleteVersion ( uint version_id, bool remove_original ) : void
DeleteVersion ( uint version_id, bool remove_original, bool keep_file ) : void
GetVersion ( uint version_id ) : FSpot.PhotoVersion
HasTag ( FSpot.Tag tag ) : bool
Photo ( uint id, long unix_time ) : Hyena
RemoveCategory ( IList taglist ) : void
RemoveTag ( FSpot.Tag tag ) : void
RenameVersion ( uint version_id, string new_name ) : void
ResetMD5Cache ( ) : void
SaveVersion ( Gdk buffer, bool create_version ) : uint
SetDefaultVersion ( IPhotoVersion version ) : void
VersionNameExists ( string version_name ) : bool
VersionUri ( uint version_id ) : SafeUri

비공개 메소드들

메소드 설명
AddVersionUnsafely ( uint version_id, SafeUri base_uri, string filename, string import_md5, string name, bool is_protected ) : void
CreateVersion ( string name, string extension, uint base_version_id, bool create ) : uint
CreateVersion ( string name, string extension, uint base_version_id, bool create, bool is_protected ) : uint
DeleteEmptyDirectory ( GLib directory ) : void
DirectoryIsEmpty ( GLib directory ) : bool
GetFilenameForVersionName ( string version_name, string extension ) : string

메소드 상세

AddTag() 공개 메소드

public AddTag ( IEnumerable taglist ) : void
taglist IEnumerable
리턴 void

AddTag() 공개 메소드

public AddTag ( FSpot.Tag tag ) : void
tag FSpot.Tag
리턴 void

AddTagUnsafely() 공개 메소드

public AddTagUnsafely ( FSpot.Tag tag ) : void
tag FSpot.Tag
리턴 void

AddVersion() 공개 메소드

public AddVersion ( SafeUri base_uri, string filename, string name ) : uint
base_uri Hyena.SafeUri
filename string
name string
리턴 uint

AddVersion() 공개 메소드

public AddVersion ( SafeUri base_uri, string filename, string name, bool is_protected ) : uint
base_uri Hyena.SafeUri
filename string
name string
is_protected bool
리턴 uint

CompareTo() 공개 메소드

public CompareTo ( Photo photo ) : int
photo Photo
리턴 int

CompareTo() 공개 메소드

public CompareTo ( object obj ) : int
obj object
리턴 int

CopyAttributesFrom() 공개 메소드

public CopyAttributesFrom ( Photo that ) : void
that Photo
리턴 void

CreateDefaultModifiedVersion() 공개 메소드

public CreateDefaultModifiedVersion ( uint base_version_id, bool create_file ) : uint
base_version_id uint
create_file bool
리턴 uint

CreateNamedVersion() 공개 메소드

public CreateNamedVersion ( string name, string extension, uint base_version_id, bool create_file ) : uint
name string
extension string
base_version_id uint
create_file bool
리턴 uint

CreateReparentedVersion() 공개 메소드

public CreateReparentedVersion ( FSpot.PhotoVersion version ) : uint
version FSpot.PhotoVersion
리턴 uint

CreateReparentedVersion() 공개 메소드

public CreateReparentedVersion ( FSpot.PhotoVersion version, bool is_protected ) : uint
version FSpot.PhotoVersion
is_protected bool
리턴 uint

CreateVersion() 공개 메소드

public CreateVersion ( string name, uint base_version_id, bool create ) : uint
name string
base_version_id uint
create bool
리턴 uint

DeleteVersion() 공개 메소드

public DeleteVersion ( uint version_id ) : void
version_id uint
리턴 void

DeleteVersion() 공개 메소드

public DeleteVersion ( uint version_id, bool remove_original ) : void
version_id uint
remove_original bool
리턴 void

DeleteVersion() 공개 메소드

public DeleteVersion ( uint version_id, bool remove_original, bool keep_file ) : void
version_id uint
remove_original bool
keep_file bool
리턴 void

GetVersion() 공개 메소드

public GetVersion ( uint version_id ) : FSpot.PhotoVersion
version_id uint
리턴 FSpot.PhotoVersion

HasTag() 공개 메소드

public HasTag ( FSpot.Tag tag ) : bool
tag FSpot.Tag
리턴 bool

Photo() 공개 메소드

public Photo ( uint id, long unix_time ) : Hyena
id uint
unix_time long
리턴 Hyena

RemoveCategory() 공개 메소드

public RemoveCategory ( IList taglist ) : void
taglist IList
리턴 void

RemoveTag() 공개 메소드

public RemoveTag ( FSpot.Tag tag ) : void
tag FSpot.Tag
리턴 void

RenameVersion() 공개 메소드

public RenameVersion ( uint version_id, string new_name ) : void
version_id uint
new_name string
리턴 void

ResetMD5Cache() 공개 정적인 메소드

public static ResetMD5Cache ( ) : void
리턴 void

SaveVersion() 공개 메소드

public SaveVersion ( Gdk buffer, bool create_version ) : uint
buffer Gdk
create_version bool
리턴 uint

SetDefaultVersion() 공개 메소드

public SetDefaultVersion ( IPhotoVersion version ) : void
version IPhotoVersion
리턴 void

VersionNameExists() 공개 메소드

public VersionNameExists ( string version_name ) : bool
version_name string
리턴 bool

VersionUri() 공개 메소드

public VersionUri ( uint version_id ) : SafeUri
version_id uint
리턴 Hyena.SafeUri