FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
DatabaseEntry Class Reference

Maps agent data to database schema. More...

#include <database.hpp>

Collaboration diagram for DatabaseEntry:
Collaboration graph

Public Member Functions

 DatabaseEntry ()
 Default constructor for DatabaseEntry.
 

Public Attributes

long agent_fk
 
long pfile_fk
 
std::string content
 
std::string hash
 
std::string type
 Type of statement found. More...
 
int copy_startbyte
 
int copy_endbyte
 

Detailed Description

Maps agent data to database schema.

Definition at line 35 of file database.hpp.

Member Data Documentation

long DatabaseEntry::agent_fk

Id of agent performed the scan

Definition at line 40 of file database.hpp.

std::string DatabaseEntry::content

Statement found during the scan

Definition at line 42 of file database.hpp.

int DatabaseEntry::copy_endbyte

Statement end offset from start of pfile content

Definition at line 56 of file database.hpp.

int DatabaseEntry::copy_startbyte

Statement start offset from start of pfile content

Definition at line 55 of file database.hpp.

std::string DatabaseEntry::hash

MD5 hash of the statement

Definition at line 43 of file database.hpp.

long DatabaseEntry::pfile_fk

Id of pfile on which the scan was performed

Definition at line 41 of file database.hpp.

std::string DatabaseEntry::type

Type of statement found.

Can be

  • statement for Copyright
  • author for Author
  • url for URL
  • email for email
  • ecc for ECC

Definition at line 54 of file database.hpp.


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