File: Reference.pm

package info (click to toggle)
naturaldocs 1.51-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,304 kB
  • sloc: perl: 17,534; javascript: 1,925; makefile: 6; sh: 1
file content (45 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
###############################################################################
#
#   Package: NaturalDocs::ImageReferenceTable::Reference
#
###############################################################################
#
#   A class for references being tracked in <NaturalDocs::SourceDB>.
#
###############################################################################

# This file is part of Natural Docs, which is Copyright  2003-2010 Greg Valure
# Natural Docs is licensed under version 3 of the GNU Affero General Public License (AGPL)
# Refer to License.txt for the complete details

use strict;
use integer;


package NaturalDocs::ImageReferenceTable::Reference;

use base 'NaturalDocs::SourceDB::Item';


use NaturalDocs::DefineMembers 'TARGET', 'Target()', 'SetTarget()',
                                                 'NEEDS_REBUILD', 'NeedsRebuild()', 'SetNeedsRebuild()';


#
#   Variables: Members
#
#   The following constants are indexes into the object array.
#
#   TARGET - The image <FileName> this reference resolves to, or undef if none.
#


#
#   Functions: Member Functions
#
#   Target - Returns the image <FileName> this reference resolves to, or undef if none.
#   SetTarget - Replaces the image <FileName> this reference resolves to, or undef if none.
#


1;