Class: Nanodicom

Source Location: /nanodicom.php

Class Overview [line 30]

Nanodicom_Core
   |
   --Nanodicom

abstract Nanodicom class.

Author(s):

Version:

  • 1.1

Copyright:

  • (c) 2010

Variables

Constants

Methods


Child classes:

Dicom_Simple
Dicom_Simple class.
Dicom_Anonymizer
Dicom_Anonymizer class.
Dicom_Dumper
Dicom_Dumper class.

Inherited Variables

Inherited Constants

Inherited Methods

Class: Nanodicom_Core

Nanodicom_Core::__construct()
Create a new Nanodicom instance. It is usually called from a class extended from core, ie Dumper
Nanodicom_Core::decode_transfer_syntax()
Get the VR mode and endian from a transfer syntax.
Nanodicom_Core::extend()
Public method to extend the tool to include other tools.
Nanodicom_Core::factory()
Create a new Nanodicom instance. It is usually called from a class extended from Nanodicom, ie Dumper
Nanodicom_Core::flush()
Public method to flush the object
Nanodicom_Core::is_dicom()
Public method to quickly check if file is DICOM (DICM check)
Nanodicom_Core::last_error()
Returns the last error found
Nanodicom_Core::parse()
Parses the object
Nanodicom_Core::profiler_diff()
Public method to show the profiling time for methods. Profiling names MUST be equal to method names.
Nanodicom_Core::set_vr_reading_list()
Public method to set the vrs to read
Nanodicom_Core::value()
Public method to get and set values.
Nanodicom_Core::write()
Returns a blob of the current dataset
Nanodicom_Core::write_file()
Writes the file to the specified location
Nanodicom_Core::_check_list()
After every element loaded we check if we need to stop
Nanodicom_Core::_compare()
Compare a needle with a haystack.
Nanodicom_Core::_decode_vr()
Decodes the proper vr from the group, element, current vr and length.
Nanodicom_Core::_dummy()
Nanodicom_Core::_forward()
Moves the current_pointer forward
Nanodicom_Core::_is_associative()
Check if the array is associative or not.
Nanodicom_Core::_parse()
Does the parsing work
Nanodicom_Core::_proper_name()
Get the proper name of the tag name. Removes spaces and _, and converts it to lowercase.
Nanodicom_Core::_read()
Reads specified number of bytes from blob, or checks if there is still data left to be read
Nanodicom_Core::_read_element()
Read an element
Nanodicom_Core::_read_file()
Read file or blob accordingly
Nanodicom_Core::_read_float()
Reads a float
Nanodicom_Core::_read_int_32()
Reads integers
Nanodicom_Core::_read_int_64()
Reads an integer for 64-bit machines
Nanodicom_Core::_read_value()
Read the value of an Tag element accordingly. No numeric values are interpreted. No reading of PN
Nanodicom_Core::_read_value_from_blob()
Read the value from the blob
Nanodicom_Core::_rewind()
Set the current_pointer to a given value
Nanodicom_Core::_tell()
Finds current position of pointer
Nanodicom_Core::_update_group_length()
Updates the group length value if exists
Nanodicom_Core::_write()
Creates a binary string from the current dataset
Nanodicom_Core::_write_float()
Writes a float
Nanodicom_Core::_write_int_32()
Writes an integer for 32-bit machines.
Nanodicom_Core::_write_int_64()
Writes an integer for 64-bit machines. Uses 32-bit function
Nanodicom_Core::__call()
Magic method to call an undefined method. It will look for methods on children Performance is better when called directly
Nanodicom_Core::__get()
Magic method, calls [Nanodicom::value] with the same parameters.
Nanodicom_Core::__set()
Magic method, calls [Nanodicom::value] with the corresponding group and element.
Nanodicom_Core::__toString()
Returns the name of the loaded file or 'blob'
Nanodicom_Core::__unset()
Magic method to unset a tag element


Class Details

abstract Nanodicom class.

All tools extend this class. Simple wrapper for Core class.

Tags:

[ Top ]


Class Variables


Class Methods


Class Constants


Documentation generated on Thu, 09 Dec 2010 16:19:33 -0800 by phpDocumentor 1.4.3