FileSpecification Class Documentation

class FileSpecification

Namespace:datalogics_interface

Detailed Description

Refers to the location of a PDF file within a file system.

The PDF file system is known more commonly as the file path name.

The reference can be either absolute, as in a complete path name, or relative to the current place in a directory structure.

Uses types

Constructor & Destructor Documentation

FileSpecification

FileSpecification(Document & doc, const std::string & path)

Parameters

doc: Document &

The document in which the file specification is created.

path: const std::string &

The string corresponding to the path of the file to reference. It may be relative or absolute.

Creates a new file specification object.

~FileSpecification

~FileSpecification()

Member Function Documentation

get_path

std::string get_path()

Returns:

std::string

The file path as a string, which may be relative or absolute.

Gets the path to the file referenced.

to_string

std::string to_string()

Returns:

std::string

The path to the file referenced by this FileSpecification.

Returns a string representation of this FileSpecification.

The returned value is the file path referenced by this specification.