Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
#include <tsssx.idl>
Inherits IDispatch.
Public Methods | |
HRESULT | getWins ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of wins for the specified team. More... | |
HRESULT | getLosses ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of losses for the specified team. More... | |
HRESULT | getTies ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of ties for the specified team. More... | |
HRESULT | getPercentage ([in] long lTeamID,[out, retval] double *pVal) |
Get the percentage of wins/losses/ties for the specified team. More... | |
HRESULT | getNumOfTeams ([out, retval] long *lNum) |
Get the number of ITeam's in the standings. More... | |
HRESULT | getNumOfGames ([in] long lTeamID,[out, retval] long *lNum) |
Get the number of IGame's for the specified team in the standings. More... | |
HRESULT | getTeams ([out, retval] ITeamCollection **ppICollection) |
Get a collection of all the ITeam's in the standings. More... | |
HRESULT | getGames ([in] long lTeamID,[out, retval] IGameCollection **ppICollection) |
Get a collection of all the IGame's for the team in the standings. More... | |
HRESULT | getTeamHasStandings ([in] long lTeamID,[out, retval] BOOL *pVal) |
Figure out if the specified team has any data for standings. More... | |
HRESULT | getGamesBehind ([in] long lTeamID,[out, retval] double *pVal) |
Get the number of games the team must win to be ranked first. More... | |
HRESULT | getOvertimeLosses ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of overtime losses for the specified team. More... | |
HRESULT | getTotalPoints ([in] long lTeamID,[out, retval] long *pVal) |
Get the total number of points (for wins, losses, and ties) for the specified team. More... | |
HRESULT | getPointsFor ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of points (goals) scored by the specified team. More... | |
HRESULT | getPointsAgainst ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of points (goals) scored against the specified team. More... | |
HRESULT | getPointDifferential ([in] long lTeamID,[out, retval] long *pVal) |
Get the difference between Points For and Points Against for the specified team. More... | |
HRESULT | getRank ([in] long lTeamID,[out, retval] long *pVal) |
Get the ranking for the specified team. More... | |
HRESULT | getForfeitWins ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of forfeit wins for the specified team. More... | |
HRESULT | getForfeitLosses ([in] long lTeamID,[out, retval] long *pVal) |
Get the number of forfeit losses for the specified team. More... |
The IStandings object represent the collection of teams in a certain division and the wins, losses, ties, and other data associated with the standing. Do not create this object directly, instead use the getStandings method of the ISeasonSchedule, or ITournamentSchedule object.
Program ID: TSSSX.Standings
Example:
var eSchedules = new Enumerator(league.getSeasonSchedules()); for (; !eSchedules.atEnd(); eSchedules.moveNext()) { oSchedule = eSchedules.item(); // do something with the ISeasonSchedule object oStandings = oSchedule.getStandings(division.ID); Response.Write("There are " + oStandings.getNumOfTeams() + " with standings."); }
|
Get the number of forfeit losses for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iNumForfeitWins = standings.getForfeitLosses(team.ID); } |
|
Get the number of forfeit wins for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iNumForfeitWins = standings.getForfeitWins(team.ID); } |
|
Get a collection of all the IGame's for the team in the standings.
var obj; var eItems = new Enumerator(standings.getGames(team.ID)); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the number of games the team must win to be ranked first.
if (standings.getTeamHasStandings(team.ID)) { iGamesBehind = standings.getGamesBehind(team.ID); } |
|
Get the number of losses for the specified team.
var iLosses = standings.getLosses(team.ID); |
|
Get the number of IGame's for the specified team in the standings.
var iNum = standings.getNumOfGames(team.ID);
|
|
Get the number of ITeam's in the standings.
var iNum = standings.getNumOfTeams(); |
|
Get the number of overtime losses for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iOTLosses = standings.getOvertimeLosses(team.ID); } |
|
Get the percentage of wins/losses/ties for the specified team. The percentage is calculated by taking the number of wins divided by the number of games played, plus the number of ties divided by two times the number of games played: Percentage = (Wins / GamesPlayed) + (Ties / (2 * GamesPlayed) )
var dblPercentage = standings.getPercentage(team.ID); |
|
Get the difference between Points For and Points Against for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iDiff = standings.getPointDifferential(team.ID); } |
|
Get the number of points (goals) scored against the specified team.
if (standings.getTeamHasStandings(team.ID)) { iPtsAgainst = standings.getPointsAgainst(team.ID); } |
|
Get the number of points (goals) scored by the specified team.
if (standings.getTeamHasStandings(team.ID)) { iPtsFor = standings.getPointsFor(team.ID); } |
|
Get the ranking for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iRanking = standings.getRank(team.ID); } |
|
Figure out if the specified team has any data for standings.
if (standings.getTeamHasStandings(team.ID)) { iWins = standings.getWins(team.ID); } |
|
Get a collection of all the ITeam's in the standings.
var obj; var eItems = new Enumerator(standings.getTeams()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the number of ties for the specified team.
var iTies = standings.getTies(team.ID); |
|
Get the total number of points (for wins, losses, and ties) for the specified team.
if (standings.getTeamHasStandings(team.ID)) { iTotalPoints = standings.getTotalPoints(team.ID); } |
|
Get the number of wins for the specified team.
var iWins = standings.getWins(team.ID); |
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