StkSatelliteDatabaseQuery Class |
Namespace: AGI.Foundation.Stk
The StkSatelliteDatabaseQuery type exposes the following members.
Name | Description | |
---|---|---|
StkSatelliteDatabaseQuery | Initializes a new instance of the StkSatelliteDatabaseQuery class |
Name | Description | |
---|---|---|
Active |
Gets or sets the value of Active that is required
in order for the entry to be included in the query.
| |
CommonName |
Gets or sets a regular expression that the CommonName
must match in order to be included in the query.
| |
InternationalDesignator |
Gets or sets a regular expression that the InternationalDesignator
must match in order to be included in the query.
| |
MaximumApogee |
Gets or sets the maximum value of Apogee that
is allowed in order for the entry to be included in the query.
| |
MaximumInclination |
Gets or sets the maximum value of Inclination that
is allowed in order for the entry to be included in the query.
| |
MaximumPerigee |
Gets or sets the maximum value of Perigee that
is allowed in order for the entry to be included in the query.
| |
MaximumPeriod |
Gets or sets the maximum value of Period that
is allowed in order for the entry to be included in the query.
| |
MinimumApogee |
Gets or sets the minimum value of Apogee that
is allowed in order for the entry to be included in the query.
| |
MinimumInclination |
Gets or sets the minimum value of Inclination that
is allowed in order for the entry to be included in the query.
| |
MinimumPerigee |
Gets or sets the minimum value of Perigee that
is allowed in order for the entry to be included in the query.
| |
MinimumPeriod |
Gets or sets the minimum value of Period that
is allowed in order for the entry to be included in the query.
| |
Mission |
Gets or sets a regular expression that the Mission
must match in order to be included in the query.
| |
OfficialName |
Gets or sets a regular expression that the OfficialName
must match in order to be included in the query.
| |
Owner |
Gets or sets a regular expression that the Owner
must match in order to be included in the query.
| |
SatelliteNumber |
Gets or sets a regular expression that the SatelliteNumber
must match in order to be included in the query.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Matches |
Determines if an entry matches this query.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The following example shows how to query the satellite database for satellites matching certain criteria:
StkSatelliteDatabase db = new StkSatelliteDatabase(dbDirectory, "stkSatDb"); // Create a query object and then populate it with the properties to query on. // Regular expressions are used to query on strings. StkSatelliteDatabaseQuery query = new StkSatelliteDatabaseQuery { CommonName = new Regex("QUICK"), MinimumApogee = 200000.0, }; // Get the database entries matching the query and print out the SSC number of each. foreach (StkSatelliteDatabaseEntry entry in db.GetEntries(query)) { Console.WriteLine(entry.SatelliteNumber); }