Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.




::: content [;{.source}]{.comments} {.source}[; NOSA HEADER START{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; The contents of this file are subject to the terms of the NASA Open {.source}]{.comments} {.source}[; Source Agreement (NOSA), Version 1.3 only (the "Agreement"). You may {.source}]{.comments} {.source}[; not use this file except in compliance with the Agreement.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; You can obtain a copy of the agreement at{.source}]{.comments} {.source}[; docs/NASA_Open_Source_Agreement_1.3.txt{.source}]{.comments} {.source}[; or {.source}]{.comments} {.source}[; http://sscweb.gsfc.nasa.gov/WebServices/NASA_Open_Source_Agreement_1.3.txt.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; See the Agreement for the specific language governing permissions{.source}]{.comments} {.source}[; and limitations under the Agreement.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; When distributing Covered Code, include this NOSA HEADER in each{.source}]{.comments} {.source}[; file and include the Agreement file at {.source}]{.comments} {.source}[; docs/NASA_Open_Source_Agreement_1.3.txt. If applicable, add the {.source}]{.comments} {.source}[; following below this NOSA HEADER, with the fields enclosed by {.source}]{.comments} {.source}[; brackets "[]" replaced with your own identifying information: {.source}]{.comments} {.source}[; Portions Copyright [yyyy] [name of copyright owner]{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; NOSA HEADER END{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; Copyright (c) 2013 United States Government as represented by the {.source}]{.comments} {.source}[; National Aeronautics and Space Administration. No copyright is claimed {.source}]{.comments} {.source}[; in the United States under Title 17, U.S.Code. All Other Rights Reserved.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[;+{.source}]{.comments} {.source}[; This class is an IDL representation of the Result{.source}]{.comments} {.source}[; element from the{.source}]{.comments} {.source}[; <a href="http://sscweb.gsfc.nasa.gov/">Satellite Situation Center</a>{.source}]{.comments} {.source}[; (SSC) XML schema.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @copyright Copyright (c) 2013 United States Government as represented{.source}]{.comments} {.source}[; by the National Aeronautics and Space Administration. No{.source}]{.comments} {.source}[; copyright is claimed in the United States under Title 17,{.source}]{.comments} {.source}[; U.S.Code. All Other Rights Reserved.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @author B. Harris{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[;+{.source}]{.comments} {.source}[; Creates an SpdfResult object.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @keyword statusCode {in} {type=string}{.source}]{.comments} {.source}[; result status code.{.source}]{.comments} {.source}[; @keyword statusSubCode {in} {type=string}{.source}]{.comments} {.source}[; result status sub-code.{.source}]{.comments} {.source}[; @keyword statusText {in} {type=strarr}{.source}]{.comments} {.source}[; result status text.{.source}]{.comments} {.source}[; @returns reference to an SpdfResult object.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::init:source}function SpdfResult::init, $ statusCode = statusCode, $ statusSubCode = statusSubCode, $ statusText = statusText compile_opt idl2 self.statusCode = statusCode self.statusSubCode = statusSubCode self.statusText = ptr_new(statusText) return, self end {.source}[;+{.source}]{.comments} {.source}[; Performs cleanup operations when this object is destroyed.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::cleanup:source}pro SpdfResult::cleanup compile_opt idl2 if ptr_valid(self.statusText) then ptr_free, self.statusText end {.source}[;+{.source}]{.comments} {.source}[; Gets the status code value.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @returns status code value.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::getStatusCode:source}function SpdfResult::getStatusCode compile_opt idl2 return, self.statusCode end {.source}[;+{.source}]{.comments} {.source}[; Gets the status sub-code value.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @returns status sub-code value.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::getStatusSubCode:source}function SpdfResult::getStatusSubCode compile_opt idl2 return, self.statusSubCode end {.source}[;+{.source}]{.comments} {.source}[; Gets the status text.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @returns a reference to strarr of status text.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::getStatusText:source}function SpdfResult::getStatusText compile_opt idl2 return, *self.statusText end {.source}[;+{.source}]{.comments} {.source}[; Prints a textual representation of this object.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult::print:source}pro SpdfResult::print compile_opt idl2 print, ' ', self.statusCode, ': ', self.statusSubCode end {.source}[;+{.source}]{.comments} {.source}[; Defines the SpdfResult class.{.source}]{.comments} {.source}[;{.source}]{.comments} {.source}[; @field statusCode result status code.{.source}]{.comments} {.source}[; @field statusSubCode result status sub-code.{.source}]{.comments} {.source}[; @field statusText result status text.{.source}]{.comments} {.source}[;-{.source}]{.comments} {.source}[]{#SpdfResult__define:source}pro SpdfResult__define compile_opt idl2 struct = { SpdfResult, $ statusCode:'', $ statusSubCode:'', $ statusText:ptr_new() $ } end {.source} :::