Class TGeoLog

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGeoLog = class(Tobject)

Description

Class for storing finder's logs

Hierarchy

Overview

Methods

Public constructor create;
Public procedure clear;
Public procedure assign(const value: TGeoLog);
Public procedure LoadCurrent(const tab: TSqlitetable);
Public procedure LoadCurrentLite(const tab: TSqlitetable);
Public procedure LoadCurrentText(const tab: TSqlitetable);
Public procedure LoadByLogID(const value: string);
Public function LoadIfModified(const idlog: string; texthash: int64): boolean;
Public procedure Remove;
Public procedure SetDefault;
Public procedure Save;
Public function IsMy: boolean;

Properties

Public property ID: string read fid write fid;
Public property key: int64 read fkey write fkey;
Public property date: TdateTime read fdate write setdate;
Public property logtype: string read ftype write settype;
Public property finder: string read ffinder write setfinder;
Public property text: string read ftext write settext;
Public property textHTML: string read getloghtml;
Public property LogID: string read getlogid write setlogid;
Public property LogIDcode: string read getlogidcode;
Public property FinderID: string read fgsfinderid write setfinderid;
Public property Hash: int64 read fhash;
Public property Updated: TDateTime read fdtupdate write fdtupdate;

Description

Methods

Public constructor create;

constructor

Public procedure clear;

clear fields in memory

Public procedure assign(const value: TGeoLog);

assign content to another instance

Public procedure LoadCurrent(const tab: TSqlitetable);

Load from current row in database

Public procedure LoadCurrentLite(const tab: TSqlitetable);

Load from current row in database without log text

Public procedure LoadCurrentText(const tab: TSqlitetable);

Load logtext from current row in database

Public procedure LoadByLogID(const value: string);

Load by LogID

Public function LoadIfModified(const idlog: string; texthash: int64): boolean;

Load by LogID and return True, if log in database will be modified

Public procedure Remove;

remove this log from database

Public procedure SetDefault;

fill by default values

Public procedure Save;

Save current content to database

Public function IsMy: boolean;

your own log test

Properties

Public property ID: string read fid write fid;

Associated geocache ID

Public property key: int64 read fkey write fkey;

Key in database

Public property date: TdateTime read fdate write setdate;

Date of log

Public property logtype: string read ftype write settype;

Log type

Public property finder: string read ffinder write setfinder;

Who wrote this log

Public property text: string read ftext write settext;

text of log

Public property textHTML: string read getloghtml;

text of log converted to HTML

Public property LogID: string read getlogid write setlogid;

LogID

Public property LogIDcode: string read getlogidcode;

LogID code (GLxxxx)

Public property FinderID: string read fgsfinderid write setfinderid;

ID of log author (may not be filled...)

Public property Hash: int64 read fhash;

32bit Murmur Hash of decompressed log Text

Public property Updated: TDateTime read fdtupdate write fdtupdate;

date and time of latest update


Generated by PasDoc 0.9.0 on 2018-03-13 21:07:27