About Store Forum Documentation Contact



Post Reply 
Grid access
Author Message
kulesz Offline
Member

Post: #1
Grid access
Hi,

How can I set a single cell (in specific position) of a grid defined as:

Code:
class SomeClass
{
    // foo
};

Grid<SomeClass*> *SomeClassGrid;
08-24-2011 07:12 AM
Find all posts by this user Quote this message in a reply
kulesz Offline
Member

Post: #2
RE: Grid access
And how to iterate through existing elements of such grid?
08-24-2011 05:55 PM
Find all posts by this user Quote this message in a reply
komarEX Offline
Member

Post: #3
RE: Grid access
How to use Grid? I cannot find any sample tutorial for it. I have problems with declaration of it.
04-24-2012 03:48 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Grid access
I believe you need to check into the grid.h header file, methods like "func" and "funcCreate" will iterate. SomeClassGrid->get(x,y) gives you access to a cell element

I recommend Grid<SomeClass> instead of Grid<SomeClass*>
04-26-2012 06:09 AM
Find all posts by this user Quote this message in a reply
Post Reply