Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
#include <tsssx.idl>
Inherits IDispatch.
Public Methods | |
HRESULT | ToString ([out, retval] BSTR *pVal) |
Get a String representation of this object. More... | |
HRESULT | Name ([out, retval] BSTR *pVal) |
Get the Name property of this object as a String. More... | |
HRESULT | ID ([out, retval] long *pVal) |
Get the ID property of this object as a long. More... | |
HRESULT | Comment ([out, retval] BSTR *pVal) |
Get the Comment property of this object as a String. More... | |
HRESULT | getNumOfGames ([out, retval] long *pINum) |
Get the total number of IGame's in the schedule. More... | |
HRESULT | getNumOfSeasonGames ([out, retval] long *pINum) |
Get the number of season (round-robin) IGame's in the schedule. More... | |
HRESULT | getNumOfPracticeGames ([out, retval] long *pINum) |
Get the number of practice IGame's in the schedule. More... | |
HRESULT | getNumOfTournamentGames ([out, retval] long *pINum) |
Get the number of tournament IGame's in the schedule. More... | |
HRESULT | getNumOfLeagueGames ([in] long lLeagueID,[out, retval] long *pINum) |
Get the number of league IGame's in the schedule. More... | |
HRESULT | getNumOfVenueGames ([in] long lVenueID,[out, retval] long *pINum) |
Get the number of venue IGame's in the schedule. More... | |
HRESULT | getNumOfTeamGames ([in] long lTeamID,[out, retval] long *pINum) |
Get the number of team IGame's in the schedule. More... | |
HRESULT | getNumOfOfficialGames ([in] long lOfficialID,[out, retval] long *pINum) |
Get the number of official IGame's in the schedule. More... | |
HRESULT | getGames ([out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the IGame's in the schedule. More... | |
HRESULT | getSeasonGames ([out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the season (round-robin) IGame's in the schedule. More... | |
HRESULT | getPracticeGames ([out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the practice IGame's in the schedule. More... | |
HRESULT | getTournamentGames ([out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the tournament IGame's in the schedule. More... | |
HRESULT | getLeagueGames ([in] long lID,[out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the league's IGame's in the schedule. More... | |
HRESULT | getVenueGames ([in] long lID,[out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the venue's IGame's in the schedule. More... | |
HRESULT | getTeamGames ([in] long lID,[out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the team's IGame's in the schedule. More... | |
HRESULT | getOfficialGames ([in] long lID,[out, retval] IGameCollection **ppIGameCollection) |
Get a collection of all the official's IGame's in the schedule. More... | |
HRESULT | queryEvents ([in] int iGameType,[in] DATE dtStartTime,[in] DATE dtEndTime,[in] long lLeagueID,[in] long lDivisionID,[in] long lTeamID,[in] long lVenueID,[in] long lOfficialID,[in] int iSortType,[in] BOOL fInclusive,[out, retval] IGameCollection **ppIGameCollection) |
Get a collection of IGame's that match the query in the schedule. More... | |
HRESULT | getHaveGame ([in] long lID,[out, retval] BOOL *fVal) |
Find out whether or not the specified game belongs to this schedule. More... |
The IMasterSchedule can be thought of as the central list of games in the project. This is where all the ISeasonSchedule, IPracticeSchedule, and ITournamentSchedule games are stored. Usually a project only has one IMasterSchedule, but the Team Sports Scheduling System supports more.
|
Get the Comment property of this object as a String. Example: var sComment = obj.Comment; |
|
Get the ID property of this object as a long. Example: var iID = obj.ID; |
|
Get the Name property of this object as a String. Example: var sName = obj.Name; |
|
Get a String representation of this object. Example: var sImplicit = "The object '" + obj + "' ToString property was called implicitly."; var sDirect = "The object '" + obj.ToString + "' ToString property was called directly."; |
|
Get a collection of all the IGame's in the schedule.
var obj; var eItems = new Enumerator(masterschedule.getGames()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Find out whether or not the specified game belongs to this schedule.
var game; var eItems = new Enumerator(Project.getGames()); for (; !eItems.atEnd(); eItems.moveNext()) { game = eItems.item(); if (schedule.getHaveGame(game.ID) == true) { Response.WriteLine("The schedule '" + schedule + "' has the game '" + game + "'"); } }
|
|
Get a collection of all the league's IGame's in the schedule.
var oGame; var eGames = new Enumerator(schedule.getLeagueGames(league.ID)); for (; !eGames.atEnd(); eGames.moveNext()) { oGame = eGames.item(); // do something with the IGame object }
|
|
Get the total number of IGame's in the schedule.
var iNum = masterschedule.getNumOfGames(); |
|
Get the number of league IGame's in the schedule. That is, the number of games contained in the ISeasonSchedule's and IPracticeSchedule's that the ILeague owns, which are scheduled on this IMasterSchedule.
var iNum = masterschedule.getNumOfLeagueGames(iLeagueID); |
|
Get the number of official IGame's in the schedule.
var iNum = schedule.getNumOfOfficialGames(official.ID); |
|
Get the number of practice IGame's in the schedule.
var iNum = masterschedule.getNumOfPracticeGames(); |
|
Get the number of season (round-robin) IGame's in the schedule.
var iNum = masterschedule.getNumOfSeasonGames(); |
|
Get the number of team IGame's in the schedule.
var iNum = schedule.getNumOfTeamGames(team.ID); |
|
Get the number of tournament IGame's in the schedule.
var iNum = masterschedule.getNumOfTournamentGames(); |
|
Get the number of venue IGame's in the schedule.
var iNum = schedule.getNumOfVenueGames(venue.ID); |
|
Get a collection of all the official's IGame's in the schedule.
var oGame; var eGames = new Enumerator(schedule.getOfficialGames(official.ID)); for (; !eGames.atEnd(); eGames.moveNext()) { oGame = eGames.item(); // do something with the IGame object }
|
|
Get a collection of all the practice IGame's in the schedule.
var obj; var eItems = new Enumerator(schedule.getPracticeGames()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get a collection of all the season (round-robin) IGame's in the schedule.
var obj; var eItems = new Enumerator(masterschedule.getSeasonGames()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get a collection of all the team's IGame's in the schedule.
var oGame; var eGames = new Enumerator(schedule.getTeamGames(team.ID)); for (; !eGames.atEnd(); eGames.moveNext()) { oGame = eGames.item(); // do something with the IGame object }
|
|
Get a collection of all the tournament IGame's in the schedule.
var obj; var eItems = new Enumerator(schedule.getTournamentGames()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get a collection of all the venue's IGame's in the schedule.
var oGame; var eGames = new Enumerator(schedule.getVenueGames(venue.ID)); for (; !eGames.atEnd(); eGames.moveNext()) { oGame = eGames.item(); // do something with the IGame object }
|
|
Get a collection of IGame's that match the query in the schedule.
var oGame; var dateStart = new Date("11/1/2001"); var dateEnd = new Date("11/30/2001"); var eGames = new Enumerator(schedule.queryEvents(8,dateStart,dateEnd,-1,-1,-1,-1,-1,1,true)); for (; !eGames.atEnd(); eGames.moveNext()) { oGame = eGames.item(); // do something with the IGame object } |
Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
Copyright © 1996-2007, Galactix Software. All rights reserved.
Questions? Comments? Send email to support@galactix.com